Skip to content

add CI

add CI #1

Workflow file for this run

name: Lint and Test

Check failure on line 1 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

(Line: 7, Col: 14): Unexpected value 'readl-all'
on:
push:
branches:
- "**"
pull_request:
permissions: readl-all
env:
CRATE_NAME: coman
GITHUB_TOKEN: ${{ github.token }}
RUST_BACKTRACE: 1
jobs:
check-linux:
name: check-linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: setup rust
run: |
rustup update stable
rustup default stable
- name: Build
run: cargo build --verbose
- name: Lint
run: cargo clippy --all-targets --all-features -p coman
- name: Test
run: cargo test --verbose