Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
build: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmrit committed Oct 11, 2022
1 parent c5a3a3a commit d7592d8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- 'Cargo.toml'
- 'Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- '*'
branches:
- 'main'
workflow_dispatch:

name: Build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
push:
branches:
- 'main'
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
workflow_dispatch:

name: Code coverage
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ on:
pull_request:
branches:
- 'dev'
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
push:
branches:
- 'main'
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
workflow_dispatch:

name: Tests
Expand Down Expand Up @@ -88,4 +96,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: -- -D warnings

0 comments on commit d7592d8

Please sign in to comment.