-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (33 loc) · 893 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
env:
PROVIDER_URL_ETHEREUM_SEPOLIA: ${{ secrets.PROVIDER_URL_ETHEREUM_SEPOLIA }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- name: Install clippy and rustfmt
run: |
rustup component add clippy
rustup component add rustfmt
- uses: taiki-e/install-action@just
- name: Run clippy and formatter checks
run: just run-ci-flow