Skip to content

Add basic CI

Add basic CI #1

Workflow file for this run

# Based on: https://github.com/clap-rs/clap/blob/master/.github/workflows/ci.yml
name: CI
permissions:
contents: read
on:
pull_request:
push:
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
jobs:
test:
name: Test
strategy:
matrix:
build: [linux]
include:
- build: linux
os: ubuntu-latest
rust: "stable"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- name: Run CI
run: ./scripts/ci/all
- name: Test
run: cargo test