Skip to content

Bump dependencies and only run CI on merge #124

Bump dependencies and only run CI on merge

Bump dependencies and only run CI on merge #124

Workflow file for this run

name: ci
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
paths:
- "**.rs"
- "Cargo.*"
- "*.toml"
- ".github/workflows/ci.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
ci:
name: "CI"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: xtask
args: ci