Skip to content

Commit

Permalink
github/workflows: cleanup the arch stuff
Browse files Browse the repository at this point in the history
- Out with 386 entirely
- Fix kernel names in cross-compilation job
  • Loading branch information
fsouza committed Sep 22, 2024
1 parent 6694dee commit 583f090
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- "1.22"
- "1.23"
goos:
- darwin
- freebsd
- macos
- ubuntu
- linux
- windows
goarch:
- amd64
Expand Down Expand Up @@ -49,14 +49,8 @@ jobs:
- macos
- ubuntu
- windows
arch:
- 386
- amd64
exclude:
- os: macos
arch: 386

name: tests (${{ matrix.os }}/go-${{ matrix.go_version }}-${{ matrix.arch }})
name: tests (${{ matrix.os }}/go-${{ matrix.go_version }}
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/[email protected]
Expand All @@ -67,17 +61,8 @@ jobs:
go-version: ${{ matrix.go_version }}

- name: run-tests-race
if: ${{ matrix.arch == 'amd64' }}
env:
GOARCH: "${{ matrix.arch }}"
run: go test -race -vet all -mod readonly ./...

- name: run-tests
if: ${{ matrix.arch == '386' }}
env:
GOARCH: "${{ matrix.arch }}"
run: go test -vet all -mod readonly ./...

lint:
name: lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 583f090

Please sign in to comment.