Skip to content

Merge pull request #4 from projectsyn/renovate/uraimo-run-on-arch-act… #21

Merge pull request #4 from projectsyn/renovate/uraimo-run-on-arch-act…

Merge pull request #4 from projectsyn/renovate/uraimo-run-on-arch-act… #21

Workflow file for this run

name: Rust
on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:
jobs:
lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
tests:
strategy:
matrix:
runner:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions-rs/cargo@v1
with:
command: check
- uses: actions-rs/cargo@v1
with:
command: test