From a99de461ad406db8d6b2a473a44ebbea81b57fc9 Mon Sep 17 00:00:00 2001 From: kpurdon Date: Wed, 31 Jul 2024 10:45:22 -0600 Subject: [PATCH] Upgrade all github actions --- .github/workflows/lint.yml | 10 +++++----- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 6 +++--- .github/workflows/woke.yml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 177260d..c9e5343 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.19', '1.20'] + go: ['1.21', '1.22'] steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: - version: v1.52 + version: v1.59 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25aece4..8a754fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,18 +12,18 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - run: git fetch --force --tags - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: '1.20' - - uses: goreleaser/goreleaser-action@v2 + - uses: goreleaser/goreleaser-action@v6 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af35589..328d3b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,12 +14,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.19', '1.20'] + go: ['1.21', '1.22'] steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: test run: go test -v ./... - name: test-race diff --git a/.github/workflows/woke.yml b/.github/workflows/woke.yml index 973e351..ab7485a 100644 --- a/.github/workflows/woke.yml +++ b/.github/workflows/woke.yml @@ -11,7 +11,7 @@ jobs: name: woke runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: woke uses: get-woke/woke-action@v0 with: