Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Boog900 committed Jun 18, 2024
1 parent c837f2f commit 1b255f4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/hack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Hack

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

jobs:
hack:

runs-on: ubuntu-latest

steps:
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo
target
key: ${{ matrix.os }}-hack

- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install dependencies
run: cargo install cargo-hack --locked
- name: Deny
run: cargo deny check

0 comments on commit 1b255f4

Please sign in to comment.