Skip to content

Downgrade rust cache to 2.7.0 #474

Downgrade rust cache to 2.7.0

Downgrade rust cache to 2.7.0 #474

Workflow file for this run

name: Pull Requests
on:
pull_request_target:
branches:
- master
push:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [ self-hosted, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
profile: minimal
- name: Rust Cache
uses: Swatinem/[email protected]
with:
cache-targets: "false"
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Check compilation
uses: actions-rs/cargo@v1
with:
command: check
- name: Test
uses: actions-rs/cargo@v1
with:
command: test