Skip to content

Commit

Permalink
Merge pull request #74 from nothub/ci-go-version
Browse files Browse the repository at this point in the history
Run Github Actions workflows using the latest two versions of Go
  • Loading branch information
adrg authored Aug 23, 2024
2 parents fdcc36e + 21d4306 commit 61e983f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jobs:
lint:
strategy:
matrix:
go: ['1.21']
go: [stable, oldstable]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true

- name: Prepare checkout
run: git config --global core.autocrlf false
Expand All @@ -30,5 +31,5 @@ jobs:
- name: Lint
uses: golangci/[email protected]
with:
version: "v1.54"
version: latest
args: --timeout=5m
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jobs:
test:
strategy:
matrix:
go: ['1.21']
go: [stable, oldstable]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true

- name: Prepare checkout
run: git config --global core.autocrlf false
Expand Down

0 comments on commit 61e983f

Please sign in to comment.