Skip to content

Commit

Permalink
ci: add build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bendanzhentan committed Nov 21, 2023
1 parent e899449 commit 349f2db
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

jobs:

'build-go':
name: make build-go
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.21

- name: Check out
uses: actions/checkout@v2

- name: Make build-go
run: make build-go

'build-solidity':
name: make build-solidity
runs-on: ubuntu-latest
steps:

- name: Check out
uses: actions/checkout@v2


- name: Install forge
run: curl -L https://foundry.paradigm.xyz | bash

- name: Make build-solidity
run: cd contracts && forge build

0 comments on commit 349f2db

Please sign in to comment.