Skip to content

ci: try another fix #947

ci: try another fix

ci: try another fix #947

Workflow file for this run

name: CI
on:
push:
branches: ["*.*.x"]
pull_request:
branches: ["*.*.x"]
env:
CARGO_TERM_COLOR: always
jobs:
check-format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly --profile minimal --component rustfmt --no-self-update
- run: cargo +nightly fmt --all -- --check
lint:
name: Lint
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal --component clippy --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-features -- -D warnings
test:
name: Test
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo test --all-features
build:
name: Package and upload artifacts
uses: ./.github/workflows/package.yml