We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e198be commit 90daa7eCopy full SHA for 90daa7e
.github/workflows/build-advent-of-code.yml
@@ -0,0 +1,28 @@
1
+name: Build advent-of-code
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - '.github/workflows/build-advent-of-code.yml'
7
+ - 'advent-of-code/**'
8
+ push:
9
+ branches:
10
+ - main
11
12
+defaults:
13
+ run:
14
+ working-directory: 'advent-of-code'
15
16
+env:
17
+ # Disable incremental compilation for faster from-scratch builds
18
+ CARGO_INCREMENTAL: 0
19
20
+jobs:
21
+ build:
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ - run: rustup update
26
+ - run: cargo fmt --check
27
+ - run: cargo clippy
28
+ - run: cargo build --release
0 commit comments