|
@@ -16,6 +16,10 @@ on:
|
|
|
- 'Cargo.*'
|
|
- 'Cargo.*'
|
|
|
- build.rs
|
|
- build.rs
|
|
|
|
|
|
|
|
|
|
+concurrency:
|
|
|
|
|
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
|
|
|
|
+ cancel-in-progress: true
|
|
|
|
|
+
|
|
|
env:
|
|
env:
|
|
|
CARGO_TERM_COLOR: always
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
@@ -34,10 +38,8 @@ jobs:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- - name: Install Rust toolchain
|
|
|
|
|
- uses: dtolnay/rust-toolchain@v1
|
|
|
|
|
- with:
|
|
|
|
|
- toolchain: ${{ matrix.rust }}
|
|
|
|
|
|
|
+ - run: rustup toolchain install ${{ matrix.rust }} --profile minimal
|
|
|
|
|
+ - uses: Swatinem/rust-cache@v2
|
|
|
|
|
|
|
|
- name: Install cargo-hack
|
|
- name: Install cargo-hack
|
|
|
uses: nick-fields/retry@v2
|
|
uses: nick-fields/retry@v2
|