Skip to content

Commit

Permalink
Update gitaction to build on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
milenkovicm committed Nov 8, 2023
1 parent 97aa78e commit b6a388d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Rust Rust Flow
name: Rust Flow

on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
- '**.yaml'
# pull_request:
# branches: [ master ]
# paths-ignore:
# - '**.md'
# - '**.yaml'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
- '**.yaml'

env:
CARGO_TERM_COLOR: always
Expand All @@ -30,7 +30,7 @@ jobs:
components: rustfmt, clippy
- name: Cargo Format
run: cargo fmt --all --check --
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Cargo Compile (with tests)
Expand Down

0 comments on commit b6a388d

Please sign in to comment.