Skip to content

Update generator requirement from 0.7 to 0.8 #124

Update generator requirement from 0.7 to 0.8

Update generator requirement from 0.7 to 0.8 #124

Workflow file for this run

name: Rust
env:
CARGO_TERM_COLOR: always
on:
push:
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
- '.github/workflows/dep-autoupgrade.yml'
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
- '.github/workflows/dep-autoupgrade.yml'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ github.event.repository.name }}-${{ runner.os }}-cargo-check-v2
- name: Run check
run: |
cargo clippy --all --all-features
cargo fmt --all -- --check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ github.event.repository.name }}-${{ runner.os }}-cargo-test-v2
- name: Run tests
run: cargo test --all-features