Skip to content

Commit

Permalink
Remove artifacts (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranbt authored Nov 29, 2023
1 parent 6289e23 commit 5fab704
Show file tree
Hide file tree
Showing 19 changed files with 13 additions and 3,279 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"

jobs:
artifacts:
name: Contract artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Validate artifacts
run: ./suave/scripts/contracts.sh civalidate

lint:
name: Lint and test
runs-on: ubuntu-latest
Expand All @@ -37,12 +23,18 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]

- name: Lint
run: make lint

- name: Build contracts
run: cd suave && forge build

- name: Test
run: go test ./accounts ./cmd/geth ./core ./core/types ./core/vm ./eth/... ./internal/ethapi/... ./les/... ./miner ./params ./suave/...

Expand Down Expand Up @@ -78,9 +70,15 @@ jobs:
go-version: ^1.20
id: go

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Build contracts
run: cd suave && forge build

- name: Run dev environment
run: make devnet-up

Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ devtools:
@type "protoc" 2> /dev/null || echo 'Please install protoc'

suavedevtools:
./suave/scripts/contracts.sh build
go run ./suave/gen/main.go -write

devnet-up:
Expand Down
7 changes: 0 additions & 7 deletions suave/artifacts/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
*.sol

!forge_example.sol
!bids.sol
!Suave.sol
!SuaveAbi.sol
!SuaveForge.sol
!example.sol
221 changes: 0 additions & 221 deletions suave/artifacts/Suave.sol/Suave.json

This file was deleted.

Loading

0 comments on commit 5fab704

Please sign in to comment.