Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermensch3dot0 committed Mar 10, 2025
1 parent e1c5156 commit 79119f2
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
on: [push, pull_request, workflow_dispatch]

name: Safe Hash

jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:

- name: Install Rust Nightly (2025-01-01)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2025-01-01
override: true

- name: Checkout Sources
uses: actions/checkout@v4

- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2

- name: Run tests
run: |
cargo build
cargo test -- --nocapture
decline-openssl-dependencies:
name: Decline openssl
runs-on: ubuntu-latest
steps:

- name: Install Rust Nightly (2025-01-01)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2025-01-01
override: true

- name: Checkout Sources
uses: actions/checkout@v4

- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2

- name: Run tests
run: |
! cargo tree -i openssl --target all

0 comments on commit 79119f2

Please sign in to comment.