Skip to content

Commit

Permalink
ci: refactor/unify pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Christina Sørensen <[email protected]>
  • Loading branch information
cafkafk committed Dec 9, 2024
1 parent d7e1cc4 commit 43f2dc2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 31 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,27 @@ env:

jobs:
pre_ci:
needs: conventional
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master

conventional:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: webiny/[email protected]

security_audit:
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-deny
- name: Scan for vulnerabilities
run: cargo deny check advisories

test:
name: Rust ${{matrix.rust}}
needs: pre_ci
Expand Down Expand Up @@ -55,6 +74,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
needs: conventional
timeout-minutes: 45
steps:
- name: Checkout repository
Expand Down Expand Up @@ -107,6 +127,7 @@ jobs:
name: Outdated
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
needs: conventional
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/conventional-commits.yml

This file was deleted.

0 comments on commit 43f2dc2

Please sign in to comment.