Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
credence0x committed May 14, 2024
1 parent 01272f0 commit ca0e01a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ on:
pull_request: {}

jobs:
setup-environment:
check-fmt:
runs-on: ubuntu-latest
steps:
- name: Set up environment
run: |
sudo apt-get update
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.6.4"
- run: cd contracts && scarb fmt --check

test-scarb-fmt:
needs: [setup-environment]
check-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.6.4"
- run: cd contracts && scarb fmt --check
- run: cd contracts && scarb build

test-scarb-build:
needs: [setup-environment]
check-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.6.4"
- run: cd contracts && scarb build
- run: cd contracts && scarb test

0 comments on commit ca0e01a

Please sign in to comment.