From 8f43860df28f8ad2468421eee91876a12fc155d2 Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 1 Jul 2022 15:21:48 +0200 Subject: [PATCH] Remove redundant skipping CI checks --- .github/workflows/ci.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92956613..3d011eca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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: @@ -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: @@ -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: @@ -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