Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pkujhd authored Feb 12, 2025
1 parent e9c1e25 commit 03b7d27
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-second-version: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
go-second-version: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
os: [ubuntu-latest, windows-latest, macos-latest]
exclude:
- os: macos-latest
Expand Down Expand Up @@ -52,8 +52,12 @@ jobs:
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}

- name: Build
run:
go build github.com/pkujhd/goloader/examples/loader
run: |
if if [ ${{ matrix.go-second-version }} -ge 23 ]; then
go build --ldflags="-checklinkname=0" github.com/pkujhd/goloader/examples/loader
else
go build github.com/pkujhd/goloader/examples/loader
fi
- name: Compile const.go
shell: sh
Expand Down

0 comments on commit 03b7d27

Please sign in to comment.