Skip to content

Commit

Permalink
Merge pull request #60 from yoursunny/ci
Browse files Browse the repository at this point in the history
Upgrade to actions/setup-go@v5 and macos-12~14
  • Loading branch information
zjkmxy authored Aug 30, 2024
2 parents 2a8810b + 2f43e46 commit 2b873bd
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/[email protected]
with:
Expand Down

0 comments on commit 2b873bd

Please sign in to comment.