Skip to content

Commit

Permalink
Fixed CI rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1N committed Dec 16, 2023
1 parent 00ec0da commit 7d71bb4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
flags: [--all-features, --no-default-features]
steps:
- uses: actions/checkout@v2
- name: Install rust 1.70.0
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
override: true

- name: Build
run: cargo build --workspace ${{ matrix.flags }} --verbose
Expand All @@ -32,7 +37,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.70.0
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -48,6 +53,11 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Install rust 1.70.0
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
override: true

- name: Pre-build binaries (for inventory integration tests)
run: cargo build --workspace --all-features --verbose
Expand All @@ -70,7 +80,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly # currently required due to -Zdoctest-xcompile
target: ${{ matrix.target }}
override: true
- name: Pre-build binaries (for inventory integration tests)
Expand All @@ -90,11 +100,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
override: true
components: rustfmt, clippy
- run: rustup component add clippy
- name: Check formatting
run: cargo fmt -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features
args: --all-targets --all-features --workspace -- -D clippy::all

2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion memflow-win32-defs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ progress-streams = { version = "^1.1.0", optional = true }
[dev_dependencies]
simplelog = "^0.12.0"
clap = { version = "^4.0.26", features = ["cargo"] }
toml = "^0.7.3"
toml = "^0.8.8"

[features]
default = ["symstore", "download_progress"]
Expand Down

0 comments on commit 7d71bb4

Please sign in to comment.