advent-of-code/.github/workflows/ci.yml
2022-10-17 12:21:02 +02:00

30 lines
696 B
YAML

name: Continuous Integration
on: push
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
name: Check
steps:
- uses: actions/checkout@v2
- name: cargo check
run: cargo check
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v2
- name: cargo test
run: cargo test
# uncomment to enable clippy lints
# clippy:
# runs-on: ubuntu-latest
# name: Lint (clippy)
# steps:
# - uses: actions/checkout@v2
# - name: cargo clippy
# run: cargo clippy -- -D warnings