Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Sep 12, 2024
1 parent 5b482b3 commit c2b50d4
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [ created ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Update Rust
run: rustup update

- run: cargo version

- uses: taiki-e/install-action@v2
with:
tool: cargo-hack

- name: Build
run: cargo-hack hack build --feature-powerset

- name: Run tests
run: cargo-hack hack test --feature-powerset

0 comments on commit c2b50d4

Please sign in to comment.