Skip to content

Update to v1.2.1

Update to v1.2.1 #3

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
paths:
- 'res/**'
- 'src/**'
- 'Cargo.toml'
pull_request:
branches: [ "master" ]
paths:
- 'res/**'
- 'src/**'
- 'Cargo.toml'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache cargo registry and build
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --verbose