-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update workflows with latest versions
Signed-off-by: Joshua Chapman <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ jobs: | |
toolchain: ${{ matrix.toolchain }} | ||
components: clippy | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: cargo clippy | ||
run: cargo clippy --all-targets --all-features --workspace -- -D warnings | ||
doc: | ||
|
@@ -64,7 +64,7 @@ jobs: | |
- name: Install nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: cargo doc | ||
run: cargo doc --no-deps --all-features --workspace | ||
env: | ||
|
@@ -77,7 +77,7 @@ jobs: | |
- name: Install stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: cargo install cargo-hack | ||
uses: taiki-e/install-action@cargo-hack | ||
- name: cargo hack | ||
|
@@ -96,11 +96,11 @@ jobs: | |
- name: Install cargo minimal-versions | ||
uses: taiki-e/install-action@cargo-minimal-versions | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: rustup default stable | ||
run: rustup default stable | ||
- name: Check minimal versions | ||
run: cargo minimal-versions check --workspace --ignore-private --detach-path-deps --direct | ||
run: cargo minimal-versions check --workspace --ignore-private --detach-path-deps=skip-exact --direct | ||
env: | ||
RUSTFLAGS: -D warnings | ||
msrv: | ||
|
@@ -116,7 +116,7 @@ jobs: | |
with: | ||
toolchain: ${{ matrix.msrv }} | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: cargo +${{ matrix.msrv }} check | ||
run: cargo check --all-features --workspace | ||
# Run semver-check on release branch push or PR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
- name: Install stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: Run test | ||
run: | | ||
cargo test --package astarte-device-sdk --test e2etest -- run_e2etest --exact --nocapture --ignored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: cargo generate-lockfile | ||
if: hashFiles('Cargo.lock') == '' | ||
run: cargo generate-lockfile | ||
|
@@ -63,10 +63,10 @@ jobs: | |
- name: Install stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
# Setup vcpkg binary cache | ||
# https://learn.microsoft.com/en-us/vcpkg/users/binarycaching#gha-quickstart | ||
- uses: actions/github-script@v6 | ||
- uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | ||
|
@@ -90,7 +90,7 @@ jobs: | |
with: | ||
components: llvm-tools-preview | ||
- name: Install sccache-cache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
- name: cargo install cargo-tarpaulin | ||
uses: taiki-e/install-action@cargo-tarpaulin | ||
- name: cargo generate-lockfile | ||
|
@@ -99,7 +99,7 @@ jobs: | |
- name: Run cargo-tarpaulin with xml output | ||
run: cargo tarpaulin --engine llvm --locked --all-features --ignore-tests --lib --out xml -- --test-threads 1 | ||
- name: Upload to codecov.io | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
fail_ci_if_error: true |