Skip to content

Update CI images and actions workflows #55

Update CI images and actions workflows

Update CI images and actions workflows #55

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
rustfmt:
runs-on: ubuntu-24.04
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
- uses: actions/checkout@v4
- run: cargo fmt -- --check
clippy:
runs-on: ubuntu-24.04
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: clippy
- uses: actions/checkout@v4
- run: cargo +nightly clippy -- --deny warnings
ci:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- toolchain: stable
- toolchain: beta
- toolchain: nightly
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test
- run: cargo test --no-default-features
- run: cargo test --no-default-features --features=aead
- run: cargo test --no-default-features --features=ecdsa
- run: cargo test --no-default-features --features=rsa_sig
msrv:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
toolchain: 1.57.0 # MSRV

Check failure on line 62 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 62, Col: 7): Unexpected value 'toolchain'
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test
- run: cargo test --no-default-features
- run: cargo test --no-default-features --features=aead
- run: cargo test --no-default-features --features=ecdsa
- run: cargo test --no-default-features --features=rsa_sig