AdventOfCode2023/.gitea/workflows/nightly.yaml
Luke Else dc40bbbc24
Some checks failed
Continuous integration / Check (push) Successful in 53s
Continuous integration / Test Suite (push) Successful in 59s
Continuous integration / Rustfmt (push) Successful in 38s
Continuous integration / build (push) Successful in 59s
/ Check (push) Successful in 53s
/ Test Suite (push) Successful in 58s
/ Rustfmt (push) Successful in 35s
/ Clippy (push) Failing after 51s
/ build (push) Successful in 52s
Created nightly tests
2024-11-20 22:59:23 +00:00

57 lines
1.2 KiB
YAML

on:
schedule:
- cron: "0 18 * * *"
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- run: cargo check
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- run: cargo build