Skip to content

Commit

Permalink
change ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
zsluedem committed Jan 3, 2023
1 parent 108c3ab commit 4ee01de
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
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

0 comments on commit 4ee01de

Please sign in to comment.