revert the workflow
This commit is contained in:
parent
4b1108734c
commit
96db923f19
2 changed files with 30 additions and 3 deletions
31
.github/workflows/go.yml
vendored
31
.github/workflows/go.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
|
@ -25,6 +25,33 @@ jobs:
|
|||
run: go mod download
|
||||
|
||||
- name: Run unit and integration tests
|
||||
run: go test -v ./pkg/cmd/release/verify-asset ./pkg/cmd/attestation/artifact
|
||||
run: go test -race -tags=integration ./...
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./cmd/gh
|
||||
|
||||
integration-tests:
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
|
||||
- name: Build executable
|
||||
run: make
|
||||
|
||||
- name: Run attestation command set integration tests
|
||||
shell: bash
|
||||
run: |
|
||||
./test/integration/attestation-cmd/run-all-tests.sh "${{ matrix.os }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue