ci: use cargo-action v0.0.4 (#1207)

* ci: use cargo-action v0.0.4

* comments/labels
This commit is contained in:
Clement Tsang 2023-06-15 06:05:47 +00:00 committed by GitHub
parent 6c7635038d
commit 9ad72bf365
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View file

@ -1,6 +1,7 @@
# Builds the following releases:
# - Binary releases
# - Debian releases (.deb)
# - .deb releases
# - .rpm releases
# - MSI installer for Windows (.msi)
# - Cirrus CI binaries
# - FreeBSD (x86_64)
@ -141,7 +142,7 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Build
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
env:
BTM_GENERATE: true
BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}
@ -281,7 +282,7 @@ jobs:
path: release
build-deb:
name: "Build Debian .deb software packages"
name: "Build .deb software packages"
runs-on: "ubuntu-20.04"
strategy:
fail-fast: false
@ -327,7 +328,7 @@ jobs:
# TODO: Could I use the previous jobs to skip this call?
- name: Build
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
env:
BTM_GENERATE: true
BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}
@ -402,7 +403,7 @@ jobs:
path: release
build-rpm:
name: "Build Red Hat .rpm software packages"
name: "Build .rpm software packages"
runs-on: ubuntu-latest
container: ghcr.io/clementtsang/almalinux-8
strategy:
@ -425,7 +426,7 @@ jobs:
# TODO: Could I use the previous jobs to skip this call?
- name: Build
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
env:
BTM_GENERATE: true
BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}

View file

@ -106,7 +106,7 @@ jobs:
run: cargo fmt --all -- --check
- name: Build tests
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
with:
command: test
args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }}
@ -116,7 +116,7 @@ jobs:
RUST_BACKTRACE: full
- name: Run tests
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
with:
command: test
args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet
@ -126,7 +126,7 @@ jobs:
RUST_BACKTRACE: full
- name: Run clippy
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
with:
command: clippy
args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings
@ -257,7 +257,7 @@ jobs:
cache-all-crates: true
- name: Try building with only default features enabled
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
if: ${{ matrix.info.no-default-features != true }}
with:
command: build
@ -266,7 +266,7 @@ jobs:
cross-version: 0.2.5
- name: Try building with no features enabled
uses: ClementTsang/cargo-action@v0.0.3
uses: ClementTsang/cargo-action@v0.0.4
if: ${{ matrix.info.no-default-features == true }}
with:
command: build