Skip to content

bump rust

bump rust #99

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches: [main]
jobs:
ci:
name: CI
needs: [fmt, xtask]
runs-on: ubuntu-latest
steps:
- name: Done
run: exit 0
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: rustfmt
- run: cargo fmt -- --check
xtask:
name: Run CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0 # fetch tags for publish
ssh-key: "${{ secrets.COMMIT_KEY }}" # use deploy key to trigger workflow
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.74
components: clippy
- name: Install rust matcher
run: echo "::add-matcher::.github/rust.json"
shell: bash
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: git tag --list
- run: cargo xtask