Skip to content

Commit

Permalink
fix: just check linux tests on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Nov 11, 2024
1 parent ac182a7 commit eddaa5a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ jobs:
linux-test:
name: 🐧 Linux check tests (gcc and clang)
needs: [reuse, c-lint, lua-lint]
if: "github.event_name == 'pull_request'"
strategy:
matrix:
command: [COMPILER=gcc, COMPILER=clang]
Expand Down Expand Up @@ -166,7 +165,7 @@ jobs:
name: 🐹 go build & checks
needs: [reuse, c-lint, lua-lint]
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_GO')"
if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_GO') && github.event_name == 'pull_request'"
strategy:
matrix:
go: ['1.23.1', '1.22.7']
Expand Down Expand Up @@ -201,7 +200,7 @@ jobs:
name: 🦀 rust build & checks
needs: [reuse, c-lint, lua-lint]
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_RUST')"
if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_RUST') && github.event_name == 'pull_request'"
strategy:
matrix:
rust: ['stable', 'nightly']
Expand Down Expand Up @@ -235,7 +234,7 @@ jobs:
name: 🐯 NodeJS WASM check tests
needs: [reuse, c-lint, lua-lint]
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_JS')"
if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_JS') && github.event_name == 'pull_request'"
strategy:
matrix:
node-version: [20.x]
Expand Down Expand Up @@ -312,7 +311,7 @@ jobs:

semantic-release:
name: 🤖 Semantic release
needs: [rust-build-check, go-build-check, linux-test, js-build-check]
needs: [linux-test]
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'master' && github.event_name == 'push' }}
outputs:
Expand Down

0 comments on commit eddaa5a

Please sign in to comment.