We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2b59b5 commit a480c00Copy full SHA for a480c00
.github/workflows/rust.yml
@@ -17,20 +17,28 @@ jobs:
17
18
steps:
19
- uses: actions/checkout@v4
20
+
21
+ - name: Prep .env
22
+ run: |
23
+ echo "LASTFM_KEY=${{secrets.LASTFM_KEY}}" >> .env
24
25
- name: Build Backend
26
run: |
27
cd backend
- touch .env
28
cargo build --verbose
29
30
- name: Build Frontend
31
32
cd frontend
33
cargo install trunk wasm-bindgen-cli
34
rustup target add wasm32-unknown-unknown
35
trunk build --release
36
37
- name: Run tests
38
run: cargo test --verbose
39
40
- name: Run Clippy
41
run: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic
42
43
- name: Check formatting
44
run: cargo fmt -- --check
0 commit comments