Skip to content

Bump actions/checkout from 2 to 4 (#1) #31

Bump actions/checkout from 2 to 4 (#1)

Bump actions/checkout from 2 to 4 (#1) #31

Workflow file for this run

name: tests
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
testing:
name: testing-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
toolchain:
- stable
os:
- ubuntu-latest
- windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
command: test
args: --all --release