File tree Expand file tree Collapse file tree 2 files changed +58
-1
lines changed Expand file tree Collapse file tree 2 files changed +58
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Rust
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+
7+ jobs :
8+ check :
9+ name : Check
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Git checkout
13+ uses : actions/checkout@v3
14+
15+ - name : Install stable toolchain
16+ uses : actions-rs/toolchain@v1
17+ with :
18+ profile : minimal
19+ toolchain : stable
20+ override : true
21+
22+ - name : Run cargo check
23+ uses : actions-rs/cargo@v1
24+ with :
25+ command : check
26+
27+ - name : Run cargo test
28+ uses : actions-rs/cargo@v1
29+ with :
30+ command : test
31+
32+ lints :
33+ name : Lints
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Git checkout
37+ uses : actions/checkout@v3
38+
39+ - name : Install stable toolchain
40+ uses : actions-rs/toolchain@v1
41+ with :
42+ profile : minimal
43+ toolchain : stable
44+ override : true
45+ components : rustfmt, clippy
46+
47+ - name : Run cargo fmt
48+ uses : actions-rs/cargo@v1
49+ with :
50+ command : fmt
51+ args : --all -- --check
52+
53+ - name : Run cargo clippy
54+ uses : actions-rs/cargo@v1
55+ with :
56+ command : clippy
57+ args : -- -D warnings
Original file line number Diff line number Diff line change 1- [ ![ wakatime] ( https://wakatime.com/badge/github/qselle/advent-of-code-2024.svg )] ( https://wakatime.com/badge/github/qselle/advent-of-code-2024 )
1+ [ ![ Go ] ( https://github.com/qselle/advent-of-code-2024/actions/workflows/rust.yml/badge.svg )] ( https://github.com/qselle/advent-of-code-2023/actions/workflows/go.yml ) [ ![ wakatime] ( https://wakatime.com/badge/github/qselle/advent-of-code-2024.svg )] ( https://wakatime.com/badge/github/qselle/advent-of-code-2024 )
22# Advent of code 2024 🎄🎅
33
44This time in Rust to learn the language! Using https://github.com/gobanos/cargo-aoc 🦀.
You can’t perform that action at this time.
0 commit comments