Skip to content

Commit

Permalink
Disable building a project just so we can get a working cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Apr 23, 2024
1 parent 4deecdf commit c45972e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ jobs:
cd project
sed -i 's/ctx/_context/' programs/project/src/lib.rs
- name: Run anchor build
run: |
cd project
anchor build >> log.txt
- name: Run anchor test
run: |
cd project
anchor test >> log.txt
- name: Check log for errors
run: |
cd project
cat log.txt
cat deleteme.txt| grep -qEv 'error|warn'
# - name: Run anchor build
# run: |
# cd project
# anchor build >> log.txt

# - name: Run anchor test
# run: |
# cd project
# anchor test >> log.txt

# - name: Check log for errors
# run: |
# cd project
# cat log.txt
# cat deleteme.txt| grep -qEv 'error|warn'

0 comments on commit c45972e

Please sign in to comment.