Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSC714725 authored Mar 21, 2024
1 parent 99225d9 commit 1adb330
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
- name: Build for Linux, macOS, and Windows
run: |
GOOS=linux go build -o lalmax-linux main.go
GOOS=darwin go build -o lalmax-macos main.go
GOOS=windows go build -o lalmax-windows.exe main.go

0 comments on commit 1adb330

Please sign in to comment.