slack-morphism-rust/.github/workflows/tests.yml
renovate[bot] 31de9e235f
chore(deps): update actions/checkout action to v6 (#337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-05 13:14:46 +01:00

18 lines
560 B
YAML

name: tests & formatting
on:
push:
pull_request:
types: [opened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- run: cargo fmt -- --check && cargo clippy --all-features -- -Dwarnings && cargo test --all-features