Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Move launch context into separate function #421

Move launch context into separate function

Move launch context into separate function #421

Workflow file for this run

name: "Test & Lint"
on:
push:
# Don't run CI for tags; there's always a branch for the tag as well so
# there's no point in testing it separately
tags_ignore: '*'
pull_request:
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt -- --check
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo build --all-targets --locked
- run: cargo clippy --all-targets --locked
- run: cargo test --locked