Skip to content

Merge pull request #311 from korpling/feature/fix-saltxml-spans #1228

Merge pull request #311 from korpling/feature/fix-saltxml-spans

Merge pull request #311 from korpling/feature/fix-saltxml-spans #1228

Workflow file for this run

on:
push:
merge_group:
name: Rust
jobs:
format:
name: Format Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
- uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
static_code_analysis:
name: Static code analysis
needs: format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
with:
components: clippy
- name: Check code without default features
run: cargo check --no-default-features
- name: Check with clippy with all features enabled
run: cargo clippy --all-features -- -D warnings
unit-tests:
env:
RUST_BACKTRACE: 0
name: Unit tests
needs: format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
- name: Run unit tests
run: cargo test