Skip to content

Commit

Permalink
Split out lint and test-unit jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice authored Oct 17, 2024
1 parent 0741dfb commit fd533e0
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- name: Setup Image
Expand All @@ -19,4 +18,18 @@ jobs:
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6
test-unit:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup Image
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update && sudo apt-get install -y libpcap-dev
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: bin/test-unit

0 comments on commit fd533e0

Please sign in to comment.