Skip to content

chore: format all files (incl .nr) #18

chore: format all files (incl .nr)

chore: format all files (incl .nr) #18

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changed-files:
runs-on: ubuntu-latest
outputs:
any_nr_changed: ${{ steps.changed-files.outputs.any_changed }}
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v44
with:
files: |
packages/**/*.{nr,toml}
Nargo.toml
style:

Check failure on line 25 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 25, Col: 5): Unexpected value 'style' .github/workflows/tests.yml (Line: 36, Col: 5): Unexpected value 'test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn check
test:
needs: changed-files
if: needs.changed-files.outputs.nr_any_changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: noir-lang/noirup@v0.1.3
with:
toolchain: 0.26.0
- run: nargo test