init: working implementation #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.event_name != 'push' }} | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt install just | |
- run: rustup toolchain install stable --profile minimal | |
- run: rustup toolchain install nightly --profile minimal | |
- run: rustup component add --toolchain nightly rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- run: just lint | |
build: | |
uses: ./.github/workflows/build.yml |