Skip to content

Commit

Permalink
Merge pull request #4 from Joewizy/feature/ci-implementation
Browse files Browse the repository at this point in the history
ci-pipeline-integration
  • Loading branch information
ONEONUORA authored Jan 24, 2025
2 parents da48d7f + ff72e93 commit ef834ea
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI Pipeline

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Scarb
run: |
curl -L https://github.com/software-mansion/scarb/releases/download/v0.7.0/scarb-v0.7.0-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv scarb /usr/local/bin/
- name: Build contracts
run: |
scarb build
- name: Run tests
run: |
scarb test

0 comments on commit ef834ea

Please sign in to comment.