Skip to content

Commit

Permalink
Simplify actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarumych committed Sep 19, 2023
1 parent 2b68cd0 commit 9f8505d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check multiple platforms

on:
pull_request:
types: [ opened, edited ]
paths:
- '**.rs'
- '**/Cargo.toml'
Expand All @@ -11,7 +12,6 @@ env:

jobs:
check-targets:
if: ${{ github.event.label.name == 'ready-to-merge' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check multiple targets

on:
pull_request:
types: [ opened, edited ]
paths:
- '**.rs'
- '**/Cargo.toml'
Expand All @@ -11,7 +12,6 @@ env:

jobs:
check-targets:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-toolchains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check multiple toolchains

on:
pull_request:
types: [ opened, edited ]
paths:
- '**.rs'
- '**/Cargo.toml'
Expand All @@ -11,7 +12,6 @@ env:

jobs:
check-toolchains:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Lints

on:
pull_request:
types: [ opened, edited ]
paths:
- '**.rs'
- '**/Cargo.toml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Security audit

on:
pull_request:
types: [ opened, edited ]
paths:
- '**/Cargo.toml'

Expand All @@ -10,7 +11,6 @@ env:

jobs:
security_audit:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Test features

on:
pull_request:
types: [ opened, edited ]
paths:
- '**.rs'
- '**/Cargo.toml'
Expand Down

0 comments on commit 9f8505d

Please sign in to comment.