Skip to content

Commit a5538e4

Browse files
authored
Merge pull request #7 from memflow/next
Update to memflow 0.2.0-beta11
2 parents 9d690fe + e1012e7 commit a5538e4

File tree

12 files changed

+655
-563
lines changed

12 files changed

+655
-563
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
flags: [--all-features, --no-default-features]
1616
steps:
1717
- uses: actions/checkout@v2
18+
- name: Install rust 1.70.0
19+
uses: actions-rs/toolchain@v1
20+
with:
21+
toolchain: 1.70.0
22+
override: true
1823

1924
- name: Build
2025
run: cargo build --workspace ${{ matrix.flags }} --verbose
@@ -32,7 +37,7 @@ jobs:
3237
- uses: actions/checkout@v2
3338
- uses: actions-rs/toolchain@v1
3439
with:
35-
toolchain: stable
40+
toolchain: 1.70.0
3641
target: ${{ matrix.target }}
3742
override: true
3843
- uses: actions-rs/cargo@v1
@@ -48,6 +53,11 @@ jobs:
4853
os: [macos-latest, ubuntu-latest, windows-latest]
4954
steps:
5055
- uses: actions/checkout@v2
56+
- name: Install rust 1.70.0
57+
uses: actions-rs/toolchain@v1
58+
with:
59+
toolchain: 1.70.0
60+
override: true
5161

5262
- name: Pre-build binaries (for inventory integration tests)
5363
run: cargo build --workspace --all-features --verbose
@@ -70,7 +80,7 @@ jobs:
7080
- uses: actions/checkout@v2
7181
- uses: actions-rs/toolchain@v1
7282
with:
73-
toolchain: nightly
83+
toolchain: nightly # currently required due to -Zdoctest-xcompile
7484
target: ${{ matrix.target }}
7585
override: true
7686
- name: Pre-build binaries (for inventory integration tests)
@@ -90,11 +100,16 @@ jobs:
90100
runs-on: ubuntu-latest
91101
steps:
92102
- uses: actions/checkout@v2
103+
- uses: actions-rs/toolchain@v1
104+
with:
105+
toolchain: 1.70.0
106+
override: true
107+
components: rustfmt, clippy
93108
- run: rustup component add clippy
94109
- name: Check formatting
95110
run: cargo fmt -- --check
96111
- uses: actions-rs/clippy-check@v1
97112
with:
98113
token: ${{ secrets.GITHUB_TOKEN }}
99-
args: --all-targets --all-features
114+
args: --all-targets --all-features --workspace -- -D clippy::all
100115

.github/workflows/nightly-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818
target: ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "armv7-unknown-linux-gnueabihf", "x86_64-pc-windows-gnu"]
1919
steps:
2020
- uses: actions/checkout@v2
21-
- uses: actions-rs/toolchain@v1
21+
- name: Install rust 1.70.0
22+
uses: actions-rs/toolchain@v1
2223
with:
23-
toolchain: stable
24+
toolchain: 1.70.0
25+
override: true
2426
- name: Download renamer
2527
run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh
2628
- name: Build artifacts

0 commit comments

Comments
 (0)