revert the workflow

This commit is contained in:
ejahnGithub 2025-05-30 12:33:40 -07:00
parent 4b1108734c
commit 96db923f19
2 changed files with 30 additions and 3 deletions

View file

@ -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 }}"