Skip to content

Commit

Permalink
Upgrade to actions/setup-go@v5 and macos-12~14
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Aug 30, 2024
1 parent 2a8810b commit 2f43e46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04,
macos-11, macos-12,
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04,
macos-12, macos-13, macos-14,
windows-2019, windows-2022]
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "^1.20"
- name: Checkout repository
uses: actions/checkout@v3
go-version-file: go.mod
- name: Build without cgo
run: make
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
fail-fast: false
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Go imports check
uses: zjkmxy/golang-github-actions@v1.1.3
with:
Expand Down

0 comments on commit 2f43e46

Please sign in to comment.