Skip to content

Earlier check for C-c #26

Earlier check for C-c

Earlier check for C-c #26

Workflow file for this run

name: rq-cli
on:
pull_request:
paths:
- .github/workflows/rq-cli.yml
- rq-cli/**/*.rs
- rq-cli/**/Cargo.toml
- '!**/*.http'
push:
paths:
- .github/workflows/rq-cli.yml
- rq-cli/**/*.rs
- rq-cli/**/Cargo.toml
- '!**/*.http'
branches:
- main
concurrency:
group: rq-cli-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
CI:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "rq-cli"
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -p rq-cli -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -p rq-cli -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: -p rq-cli