Skip to content

Commit 546cb9c

Browse files
committed
build(deps): update deps & rust, migrate to mise
1 parent e01e5a2 commit 546cb9c

4 files changed

Lines changed: 188 additions & 157 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -21,49 +21,18 @@ jobs:
2121
runs-on: ${{ matrix.os.imageName }}
2222
strategy:
2323
matrix:
24-
rust_toolchain: ["stable"]
2524
os:
2625
- imageName: ubuntu-latest
27-
profile_rustup: default
28-
target_platform: x86_64-unknown-linux-gnu
29-
- target_platform: x86_64-apple-darwin
30-
imageName: "macOS-latest"
31-
profile_rustup: minimal
32-
# - imageName: "macOS-latest"
33-
# profile_rustup: minimal
34-
# target_platform: aarch64-apple-darwin
26+
- imageName: macOS-latest
3527
# - imageName: windows-latest
36-
# profile_rustup: minimal
37-
# target_platform:
3828

3929
steps:
4030
- uses: actions/checkout@v4
41-
- uses: actions/cache@v4
42-
with:
43-
path: |
44-
~/.cargo/bin/
45-
~/.cargo/registry/index/
46-
~/.cargo/registry/cache/
47-
~/.cargo/git/db/
48-
target/
49-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
50-
- uses: dtolnay/rust-toolchain@stable
51-
with:
52-
toolchain: ${{ matrix.rust_toolchain }}
53-
targets: ${{ matrix.os.target_platform }}
5431
- uses: mozilla-actions/sccache-action@v0.0.9
5532
- uses: jdx/mise-action@v2
56-
- name: Run tests
57-
run: mise run ci
58-
env:
59-
TARGET: ${{ matrix.os.target_paddlatform }}
60-
# for list of xcode sdk see https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#xcode
61-
# DEVELOPER_DIR: "/Applications/Xcode_11.app/Contents/Developer"
62-
CARGO_MAKE_RUN_CODECOV: "false"
63-
# to have CODECOV_TOKEN go to https://codecov.io/gh/${GITHUB_USER}/${GITHUB_REPO}
64-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
65-
- run: ${SCCACHE_PATH} --show-stats
66-
shell: bash
33+
- run: mise run ci
34+
# for list of xcode sdk see https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#xcode
35+
# DEVELOPER_DIR: "/Applications/Xcode_11.app/Contents/Developer"
6736

6837
integration:
6938
# Integration tests are linux only
@@ -83,5 +52,3 @@ jobs:
8352
- uses: jdx/mise-action@v2
8453
- name: Run on k3d
8554
run: cargo run
86-
- run: ${SCCACHE_PATH} --show-stats
87-
shell: bash

.mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ OPENSSL_STATIC = "1"
1313
# docker (or podman + some config) should be available for some of thoses tools
1414
kubectl = "1.24"
1515
kind = "0.20"
16-
rust = { version = "1.88.0", profile="minimal", components="cargo,rustfmt,clippy"} # the rust tool stack (with cargo, fmt, clippy) to build source
16+
rust = { version = "1.89.0", profile="minimal", components="cargo,rustfmt,clippy"} # the rust tool stack (with cargo, fmt, clippy) to build source
1717
jq = "latest"
1818
"cargo:cross" = "latest"
1919

0 commit comments

Comments
 (0)