From 9261be39743d00b68c09355b35b3c425b4c4beee Mon Sep 17 00:00:00 2001 From: Lukas Grossar Date: Tue, 28 Mar 2023 08:50:44 +0200 Subject: [PATCH] chore(actions): update all actions to their current version --- .github/workflows/lint.yaml | 5 +++++ .github/workflows/release.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6d785b5..8feb7cf 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -11,6 +11,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.16' + - name: Run GolangCI-Lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ece863b..466d38b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,19 +17,19 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.16.x + go-version: '1.16' - name: Login to GHCR - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}