Brian J. Tarricone
89e37e2258
Some of the newer versions of the github.com versions aren't compatible with gitea's fork of act_runner.
24 lines
546 B
YAML
24 lines
546 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request: {}
|
|
jobs:
|
|
ci:
|
|
name: CI
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: https://gitea.com/actions/checkout@v3
|
|
- uses: https://github.com/actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
profile: minimal
|
|
components: clippy, rustfmt
|
|
- name: clippy
|
|
run: cargo clippy --all-targets --all-features -- -D warnings
|
|
- name: formatting
|
|
run: cargo fmt --check
|
|
- name: test
|
|
run: cargo test --release
|