Skip to content

Commit

Permalink
feat: ci added
Browse files Browse the repository at this point in the history
  • Loading branch information
eddnewgate committed Jul 26, 2024
1 parent 721718a commit ee9a60c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions: read-all

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Check cairo format
run: scarb fmt --check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- uses: foundry-rs/setup-snfoundry@v4
- name: Test cairo contract
run: scarb test
16 changes: 0 additions & 16 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit ee9a60c

Please sign in to comment.