Skip to content

Commit

Permalink
Add workflow for cargo-hack
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni committed Aug 31, 2024
1 parent 230f163 commit 0ffc71a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [ push, pull_request ]
on: [push, pull_request]

name: Rust

Expand All @@ -7,6 +7,23 @@ env:
RUSTDOCFLAGS: -D warnings

jobs:
cargo-hack-test:
name: cargo-hack test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.76.0

- run: sudo apt-get update && sudo apt-get install libgtk-3-dev libatk1.0-dev

- name: Set up cargo cache
uses: Swatinem/rust-cache@v2

- name: Run cargo-hack
run: ./scripts/hack.sh

fmt-crank-check-test:
name: Format + check + test
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 0ffc71a

Please sign in to comment.