Skip to content

Commit

Permalink
ci: examine codes for different OS and arch
Browse files Browse the repository at this point in the history
  • Loading branch information
pilinux committed Aug 18, 2023
1 parent 460ca6e commit 7be7b45
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,23 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Examine source code
run: go vet -v ./...
- name: Examine source code for Linux AMD
run: GOOS=linux GOARCH=amd64 go vet -v ./...

- name: Examine source code for MacOS AMD
run: GOOS=darwin GOARCH=amd64 go vet -v ./...

- name: Examine source code for Windows AMD
run: GOOS=windows GOARCH=amd64 go vet -v ./...

- name: Examine source code for Linux ARM
run: GOOS=linux GOARCH=arm64 go vet -v ./...

- name: Examine source code for MacOS ARM
run: GOOS=darwin GOARCH=arm64 go vet -v ./...

- name: Examine source code for Windows ARM
run: GOOS=windows GOARCH=arm64 go vet -v ./...

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

0 comments on commit 7be7b45

Please sign in to comment.