Skip to content

more sys errors

more sys errors #100

Workflow file for this run

name: Build and Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Rust
run: rustup update stable && rustup default stable
- name: Cache dependencies
uses: Swatinem/[email protected]
- name: Run sccache
uses: mozilla-actions/[email protected]
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: true
RUSTFLAGS: '--cfg profile=ephemeral-build'
- name: Run build
run: cargo build --verbose
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Rust
run: rustup update stable && rustup default stable
- name: Cache dependencies
uses: Swatinem/[email protected]
- name: Run clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
run: cargo test --verbose
- name: Fake publish
run: cargo publish --token ${CRATES_TOKEN} --dry-run --no-verify
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}