File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ jobs:
2323 tool-versions : contract_/.tool-versions
2424 - name : Check Scarb Formatting
2525 run : scarb fmt --check
26+ working-directory : contract_
27+
2628 build-and-test :
2729 runs-on : ubuntu-latest
28-
2930 steps :
30- - uses : actions/checkout@v3
31-
31+ - uses : actions/checkout@v4
3232 - name : Set up Rust
3333 uses : actions-rs/toolchain@v1
3434 with :
@@ -58,15 +58,14 @@ jobs:
5858 ~/.local/bin/snforge --version || echo "snforge binary not executable"
5959
6060 - name : Check formatting
61- run : |
62- cd contract_
63- scarb fmt --check
61+ run : scarb fmt --check
62+ working-directory : contract_
6463
6564 - name : Run tests
6665 run : |
6766 export PATH=$PATH:/root/.local/bin
68- cd contract_
6967 snforge test
68+ working-directory : contract_
7069
7170 - name : Cache dependencies
7271 uses : actions/cache@v3
You can’t perform that action at this time.
0 commit comments