File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed
Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change 4040 sleep 5
4141
4242 # Test URL
43- TEST_URL="https://github.com "
43+ TEST_URL="https://ghurmy.xyz "
4444
4545 # Generate QR code and save as SVG
4646 curl -X GET "http://localhost:8080/generate?url=$TEST_URL" \
Original file line number Diff line number Diff line change @@ -23,28 +23,11 @@ jobs:
2323 profile : minimal
2424 toolchain : stable
2525 override : true
26- components : rustfmt, clippy
2726
28- - name : Cache dependencies
29- uses : actions/cache@v3
30- with :
31- path : |
32- ~/.cargo/registry
33- ~/.cargo/git
34- target
35- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
36-
37- - name : Run tests
27+ - name : Setup environment
3828 run : |
3929 echo "API_KEY=test_key" > .env
4030 echo "PORT=8080" >> .env
41- cargo test -- --nocapture
4231
43- - name : Format code
44- run : cargo fmt
45-
46- - name : Verify formatting
47- run : cargo fmt -- --check
48-
49- - name : Run clippy
50- run : cargo clippy -- -D warnings
32+ - name : Run tests
33+ run : cargo test -- --nocapture
You can’t perform that action at this time.
0 commit comments