Skip to content

🚧 Upgrade to dojo rc0 #23

🚧 Upgrade to dojo rc0

🚧 Upgrade to dojo rc0 #23

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
DOJO_VERSION: v1.0.0-rc.0
SCARB_VERSION: 2.8.4
WORKING_DIRECTORY: ./packages
jobs:
check:
runs-on: ubuntu-latest
name: Check format
steps:
- uses: actions/checkout@v4
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: ${{ env.SCARB_VERSION }}
- name: Format
working-directory: ${{ env.WORKING_DIRECTORY }}
run: scarb fmt --check
shell: bash
build:
needs: check
runs-on: ubuntu-latest
name: Build package
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Build
working-directory: ${{ env.WORKING_DIRECTORY }}
run: sozo build
shell: bash
test:
needs: [check, build]
runs-on: ubuntu-latest
name: Test package
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
working-directory: ${{ env.WORKING_DIRECTORY }}
run: sozo test
shell: bash