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

Fix CI failure #31

Merged
merged 1 commit into from
Jan 3, 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
17 changes: 15 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
on: [push]
on:
push:
branches:
- main
pull_request:

name: CI

jobs:
build_and_test:
name: Rust project
name: Rust Abstract Account Bundler Project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -15,6 +19,15 @@ jobs:
- name: Setup
run: |
make fetch-thirdparty
- name: Install solc
run: |
sudo add-apt-repository ppa:ethereum/ethereum
sudo add-apt-repository ppa:ethereum/ethereum-dev
sudo apt-get update
sudo apt-get install solc
- name: Build
run: |
make build
- name: Lint
run: |
make lint
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ lint:
cargo fmt --all -- --check
cargo clippy -- -D warnings -A clippy::derive_partial_eq_without_eq

build:
cargo build

cargo-test:
cargo test

Expand Down