Skip to content

Commit

Permalink
Fix CI (#64)
Browse files Browse the repository at this point in the history
Fix pipeline

---------

Co-authored-by: Schneems <[email protected]>
  • Loading branch information
andrewhickman and schneems authored Oct 17, 2024
1 parent 25ac421 commit 7a49316
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 62 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
toolchain: ${{ matrix.rust_version }}

- run: cargo update
if: ${{ matrix.rust == 'stable' || matrix.rust == 'beta' }}
if: ${{ matrix.rust_version == 'stable' || matrix.rust_version == 'beta' }}

- name: cargo build
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -59,11 +59,11 @@ jobs:
with:
command: check
args: --features io_safety
if: ${{ matrix.rust == 'stable' || matrix.rust == 'beta' }}
if: ${{ matrix.rust_version == 'stable' || matrix.rust_version == 'beta' }}

- name: cargo check --features tokio
uses: actions-rs/cargo@v1
with:
command: check
args: --features tokio
if: ${{ matrix.rust == 'stable' || matrix.rust == 'beta' }}
if: ${{ matrix.rust_version == 'stable' || matrix.rust_version == 'beta' }}
161 changes: 102 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ fn main() {
let ac = autocfg::new();
// Allows `#[cfg(rustc_1_63)]` to be used in code
ac.emit_rustc_version(1, 63);

// Re-run if this file changes
autocfg::rerun_path("build.rs");
}

0 comments on commit 7a49316

Please sign in to comment.