Skip to content

Commit

Permalink
Remove redundant skipping CI checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jul 1, 2022
1 parent 72eff59 commit 8f43860
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
################

pr:
if: ${{ github.event_name == 'pull_request'
&& !contains(github.event.head_commit.message, '[skip ci]') }}
if: ${{ github.event_name == 'pull_request' }}
needs:
- clippy
- feature
Expand All @@ -43,9 +42,6 @@ jobs:
##########################

clippy:
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -58,9 +54,6 @@ jobs:
- run: make cargo.lint

rustfmt:
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -80,9 +73,6 @@ jobs:
###########

feature:
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -116,9 +106,6 @@ jobs:

msrv:
name: MSRV
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -148,9 +135,6 @@ jobs:
- run: make test.cargo crate=${{ matrix.crate }}

test:
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -178,9 +162,6 @@ jobs:

test-book:
name: Test Book
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
fail-fast: false
matrix:
Expand All @@ -206,9 +187,6 @@ jobs:
#################

rustdoc:
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8f43860

Please sign in to comment.