Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove artifacts #113

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading