Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Nov 25, 2024
1 parent 60e175c commit b444404
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/pushes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,16 @@ jobs:
strategy:
matrix:
include:
- go: '1.21.x'
- go: stable
os: ubuntu-latest
canonical: true
- go: '1.20.x'
os: ubuntu-latest
canonical: false

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
# We're not doing releases, just checks, so we can live without check-latest here
Expand All @@ -66,9 +63,9 @@ jobs:
# You can see the individual values in the "Set up Go" output, collapsed inside a "go env" group at the end.

- name: Install staticcheck
uses: dominikh/[email protected].0
uses: dominikh/[email protected].1
with:
version: "2022.1.1"
version: "2024.1.1"

- name: Install additional check/lint tools
id: tools-install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# NB: the `fetch-depth: 0` setting is documented by goreleaser
# as a requirement, for the changelog feature to work correctly.
Expand All @@ -34,9 +34,9 @@ jobs:
# docker/setup-buildx-action@v1

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: stable
check-latest: true

- name: Basic integrity checks
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Run GoReleaser
id: goreleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
env:
Expand Down

0 comments on commit b444404

Please sign in to comment.