Skip to content

Commit

Permalink
chore: rename workflow to main
Browse files Browse the repository at this point in the history
for consistency with other repos
  • Loading branch information
sripwoud committed Jun 28, 2024
1 parent d3c5d53 commit b7f732c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 45 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: main

on:
push:
branches: [main]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn

- name: Install dependencies
run: yarn

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
packages/**/*.{nr,toml}
- if: steps.changed-files.outputs.any_changed == 'true'
name: Install Nargo
uses: noir-lang/[email protected]
with:
toolchain: 0.26.0

- if: steps.changed-files.outputs.any_changed == 'true'
name: Test circuits
run: yarn test
45 changes: 0 additions & 45 deletions .github/workflows/tests.yml

This file was deleted.

0 comments on commit b7f732c

Please sign in to comment.