cicd: added more OS support and running tests
This commit is contained in:
parent
4b6bfc8974
commit
cfee5b47eb
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -22,15 +22,27 @@ jobs:
|
|||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
|
- os: ubuntu-latest
|
||||||
|
goos: linux
|
||||||
|
goarch: 386
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
goos: windows
|
goos: windows
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
|
- os: windows-latest
|
||||||
|
goos: windows
|
||||||
|
goarch: arm64
|
||||||
|
- os: windows-latest
|
||||||
|
goos: windows
|
||||||
|
goarch: 386
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.26"
|
go-version: "1.26"
|
||||||
|
- name: Test
|
||||||
|
shell: bash
|
||||||
|
run: go test ./...
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user