parent
7a4a585257
commit
3c2ab6ead2
@ -10,19 +10,19 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Go ${{ matrix.go-os }} ${{ matrix.go-arch }}
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.21.x'
|
go-version: '1.22.x'
|
||||||
- name: Display Go version
|
- name: Display Go version
|
||||||
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go version
|
run: go version
|
||||||
- name: Install dependencies
|
- name: Install dependencies for ${{ matrix.go-os }} ${{ matrix.go-arch }}
|
||||||
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go get -v
|
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go get -v
|
||||||
- name: Test
|
- name: Test for ${{ matrix.go-os }} ${{ matrix.go-arch }}
|
||||||
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go test -v ./...
|
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go test -v ./...
|
||||||
- name: Build
|
- name: Build for ${{ matrix.go-os }} ${{ matrix.go-arch }}
|
||||||
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go build -v ./cmd/update-ip
|
run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go build -v ./cmd/update-ip
|
||||||
- name: Upload Go test results
|
- name: Upload Go test results for ${{ matrix.go-os }} ${{ matrix.go-arch }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: update-ip_${{ matrix.go-os }}_${{ matrix.go-arch }}
|
name: update-ip_${{ matrix.go-os }}_${{ matrix.go-arch }}
|
||||||
|
Loading…
Reference in New Issue
Block a user