Skip to content

Commit

Permalink
update rs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amirylm committed Nov 1, 2024
1 parent 0dffa94 commit 814ef2e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/rs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Rust - Build and test

on: [ push ]

on:
push:
branches:
- master
pull_request:

jobs:
build-test:
name: Build and test
Expand All @@ -10,12 +14,10 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install rust toolchain
working-directory: ./rs/chainselectors
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
working-directory: ./rs/chainselector
with:
cache-on-failure: true
- name: Set up Go
Expand Down

0 comments on commit 814ef2e

Please sign in to comment.