Skip to content

ci: remove sccache from github actions #242

ci: remove sccache from github actions

ci: remove sccache from github actions #242

Workflow file for this run

---
name: Rust
on:
pull_request:
paths-ignore:
- "docs/**"
push:
paths-ignore:
- "docs/**"
branches:
- master
- "v*.*.*"
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/deps
- name: Check code formatting
shell: bash
run: cargo fmt --all -- --check
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/deps
- name: Check documentation generation
shell: bash
env:
RUSTDOCFLAGS: "--cfg docsrs"
run: cargo doc --no-deps --all-features