Skip to content

chore: Remove tokio from reqsign (#485) #1098

chore: Remove tokio from reqsign (#485)

chore: Remove tokio from reqsign (#485) #1098

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --workspace
build_under_wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
rustup target add wasm32-unknown-unknown
cargo build --target wasm32-unknown-unknown
unit:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Test
working-directory: ./crates/reqsign
run: cargo test --no-fail-fast
env:
RUST_LOG: DEBUG
RUST_BACKTRACE: full