Skip to content

chore(deps): update swatinem/rust-cache action to v2.7.1 #103

chore(deps): update swatinem/rust-cache action to v2.7.1

chore(deps): update swatinem/rust-cache action to v2.7.1 #103

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Tests (nostd)
jobs:
test-nofeatures:
name: ${{matrix.rust}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
rust: [1.70.0, stable]
os: [ubuntu-20.04]
env:
RUSTFLAGS: ''
CARGO_PROFILE_DEV_DEBUG: '0' # reduce size of target directory
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Toolchain
run: rustup default ${{matrix.rust}}
- name: Cache
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- name: Check
run: cargo check --no-default-features --all-targets
- name: Test
run: cargo test --release --no-default-features