Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD: Use my own fork of (third-party) GitHub Actions. #1257

Merged
merged 1 commit into from
Apr 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false
- run: cargo fmt --all -- --check
Expand All @@ -29,13 +29,13 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

Expand All @@ -48,12 +48,12 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
toolchain: stable
profile: minimal

- uses: actions/cache@v2
- uses: briansmith/actions-cache@v2
with:
path: |
~/.cargo/bin/cargo-audit
Expand All @@ -63,7 +63,7 @@ jobs:

- run: cargo install cargo-audit --vers "0.13.1"

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

Expand All @@ -78,12 +78,12 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
toolchain: stable
profile: minimal

- uses: actions/cache@v2
- uses: briansmith/actions-cache@v2
with:
path: |
~/.cargo/bin/cargo-deny
Expand All @@ -93,7 +93,7 @@ jobs:

- run: cargo install cargo-deny --vers "0.8.4"

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

Expand All @@ -117,13 +117,13 @@ jobs:
- target: x86_64-unknown-linux-gnu

steps:
- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
override: true
target: ${{ matrix.target }}
toolchain: ${{ matrix.rust_channel }}

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

Expand All @@ -137,13 +137,13 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

- run: powershell -ExecutionPolicy Bypass ./mk/install-build-tools.ps1

- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
toolchain: stable
profile: minimal
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
- if: ${{ contains(matrix.host_os, 'ubuntu') }}
run: sudo apt-get update -y

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

Expand All @@ -290,7 +290,7 @@ jobs:
(powershell -ExecutionPolicy Bypass ./mk/install-build-tools.ps1) -and
("$pwd\target\tools" >> $env:GITHUB_PATH)

- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
override: true
target: ${{ matrix.target }}
Expand Down Expand Up @@ -342,15 +342,15 @@ jobs:
- if: ${{ contains(matrix.host_os, 'ubuntu') }}
run: sudo apt-get update -y

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

- run: cargo generate-lockfile

- run: mk/install-build-tools.sh --target=${{ matrix.target }} ${{ matrix.features }}

- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
override: true
target: ${{ matrix.target }}
Expand Down Expand Up @@ -414,14 +414,14 @@ jobs:
- if: ${{ contains(matrix.host_os, 'ubuntu') }}
run: sudo apt-get update -y

- uses: actions/checkout@v2
- uses: briansmith/actions-checkout@v2
with:
persist-credentials: false

- if: ${{ !contains(matrix.host_os, 'windows') }}
run: RING_COVERAGE=1 mk/install-build-tools.sh --target=${{ matrix.target }} ${{ matrix.features }}

- uses: actions-rs/toolchain@v1
- uses: briansmith/actions-rs-toolchain@v1
with:
override: true
target: ${{ matrix.target }}
Expand All @@ -434,7 +434,7 @@ jobs:
run: |
RING_COVERAGE=1 mk/cargo.sh +${{ matrix.rust_channel }} test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}

- uses: codecov/codecov-action@v1
- uses: briansmith/codecov-codecov-action@v1
with:
directory: ./target/${{ matrix.target }}/debug/coverage/reports
fail_ci_if_error: true
Expand Down