ref: add accept admin part 2 #301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Tests | |
on: [push, pull_request, pull_request_target] | |
env: | |
SCARB_VERSION: 2.6.4 | |
jobs: | |
scarb-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install scarb | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v $SCARB_VERSION | |
- name: Install project dependencies | |
run: scarb fetch | |
- name: Compile smart contracts | |
run: scarb build | |
- name: Run scarb tests | |
run: scarb test -p naming |