-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from nothub/ci-go-version
Run Github Actions workflows using the latest two versions of Go
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -30,5 +31,5 @@ jobs: | |
- name: Lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: "v1.54" | ||
version: latest | ||
args: --timeout=5m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters