Skip to content

Commit

Permalink
added triggers for workflow_dispatch and push on every branch
Browse files Browse the repository at this point in the history
  • Loading branch information
benzlokzik committed Nov 3, 2023
1 parent 69f485e commit a820cf2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:


env:
CARGO_TERM_COLOR: always
Expand All @@ -15,8 +16,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit a820cf2

Please sign in to comment.