Skip to content

Commit

Permalink
modify action
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Jan 14, 2024
1 parent 949092f commit 48648f0
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
name: test
on: [push, pull_request]
on:
pull_request:
paths:
- .github/workflows/test.yml
- Cargo.toml
- Cargo.lock
- ci/**
- crates/**
push:
branches: main
paths:
- .github/workflows/test.yml
- Cargo.toml
- Cargo.lock
- ci/**
- crates/**

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -8,7 +24,6 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
- run: make lint
- run: cargo test
- run: cargo build --bin ethlc

0 comments on commit 48648f0

Please sign in to comment.