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 }}