Skip to content

Commit

Permalink
only trigger the pipeline during pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoLeonardo committed Feb 9, 2024
1 parent c7754a0 commit d2f43ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [1.66.0, stable, beta, nightly]

if: github.event_name == 'pull_request'

steps:
- uses: actions/checkout@v3
Expand All @@ -33,5 +35,3 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run tests
run: cargo test --verbose --all --all-features

0 comments on commit d2f43ce

Please sign in to comment.