Skip to content

Commit

Permalink
CI/CD: Remove optimization for repository owner's PRs.
Browse files Browse the repository at this point in the history
This optimization was carried over from *ring*'s CI configuration, but it
is less important for this project, so eliminate it.
  • Loading branch information
briansmith committed Apr 27, 2021
1 parent 6e77bb9 commit 5060c2b
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
push:
jobs:
rustfmt:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04

steps:
Expand All @@ -23,9 +20,6 @@ jobs:
- run: cargo fmt --all -- --check

clippy:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04

steps:
Expand All @@ -42,9 +36,6 @@ jobs:
- run: mk/clippy.sh

audit:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04

steps:
Expand Down Expand Up @@ -72,9 +63,6 @@ jobs:
- run: cargo audit --deny warnings

deny:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04

steps:
Expand All @@ -101,9 +89,6 @@ jobs:

# Verify that documentation builds.
rustdoc:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04

strategy:
Expand Down Expand Up @@ -131,9 +116,6 @@ jobs:
cargo doc --all-features
package:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04

steps:
Expand All @@ -150,9 +132,6 @@ jobs:


test:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ${{ matrix.host_os }}

strategy:
Expand Down Expand Up @@ -233,9 +212,6 @@ jobs:
cargo test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
coverage:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ${{ matrix.host_os }}

strategy:
Expand Down

0 comments on commit 5060c2b

Please sign in to comment.