ci: add build steps (#5796)
This commit is contained in:
parent
45f6fc855c
commit
133b252154
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@ -30,7 +30,6 @@ jobs:
|
||||
matrix:
|
||||
go-version: ["1.24.2"]
|
||||
mount: ["/tmp"]
|
||||
#os: [ubuntu-latest, macos-latest,windows-latest]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
services:
|
||||
@ -141,3 +140,24 @@ jobs:
|
||||
env:
|
||||
CODECOV_TOKEN: 4f4bc484-32a8-43b7-9f48-20966bd48ceb
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ ubuntu-latest, macos-latest, windows-latest, macos-13 ]
|
||||
go-version: ["1.24.2"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
Loading…
x
Reference in New Issue
Block a user