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

Fix CI #64

Merged
merged 4 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
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
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");
}
Loading