Skip to content

2023-09: Solve first puzzle #28

2023-09: Solve first puzzle

2023-09: Solve first puzzle #28

Workflow file for this run

name: Continuous Integration
on: push
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
name: CI
steps:
- uses: actions/checkout@v3
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: cargo test
run: cargo test --manifest-path 2023-rust/Cargo.toml
#- name: cargo clippy
# run: cargo clippy --manifest-path 2023-rust/Cargo.toml -- -D warnings
- name: cargo fmt
run: cargo fmt --check --manifest-path 2023-rust/Cargo.toml