From c4a57aa0115ce90b98e404e07b33854da5f860ad Mon Sep 17 00:00:00 2001 From: josvaz Date: Wed, 25 Jan 2023 10:02:34 +0100 Subject: [PATCH] Github action updates (#167) Signed-off-by: Jose Luis Vazquez Gonzalez --- .github/workflows/golangci-lint.yml | 4 ++-- .github/workflows/goreleaser.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 214b01f8..4a279862 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -16,9 +16,9 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.45.2 # Optional: show only new issues if it's a pull request. The default value is `false`. diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index f47597b6..d0a4aca2 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -13,21 +13,21 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Unshallow run: git fetch --prune --unshallow - name: Docker login to Github Packages - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v3 with: go-version: 1.18.x - name: Release - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: version: latest args: release --rm-dist