Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ concurrency:
cancel-in-progress: true

jobs:
# The chore(release): merge commit updates each released module's
# go.mod to require a new go.loglayer.dev version. The matching tag
# is created concurrently by release.yml on the same push. Tidy here
# races with that tag push and loses; skip the run so the release
# workflow has the field to itself. The next non-release push to main
# triggers a clean CI.
test:
if: github.event_name == 'pull_request' || !startsWith(github.event.head_commit.message, 'chore(release):')
name: Test (Go ${{ matrix.go }})
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -79,6 +86,7 @@ jobs:
run: go build -o /dev/null ./...

staticcheck:
if: github.event_name == 'pull_request' || !startsWith(github.event.head_commit.message, 'chore(release):')
name: Staticcheck
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -119,6 +127,7 @@ jobs:
run: scripts/foreach-module.sh staticcheck

govulncheck:
if: github.event_name == 'pull_request' || !startsWith(github.event.head_commit.message, 'chore(release):')
name: Govulncheck
runs-on: ubuntu-latest
env:
Expand Down
Loading