Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Merge pull request 'qol' (#100) from qol into main #20

Merge pull request 'qol' (#100) from qol into main

Merge pull request 'qol' (#100) from qol into main #20

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_PROFILE_TEST_DEBUG: 0
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
- name: Run tests
run: cargo test --verbose --locked
- name: Run cargo fmt
run: cargo fmt --all --check
- name: Run cargo clippy
run: cargo clippy --all-targets --locked
- name: Build in release mode
run: cargo build --release --verbose --locked
- name: Upload executable
uses: actions/upload-artifact@v4
with:
name: rsfilc_${{ runner.os }}_${{ runner.arch }}
path: |
target/release/rsfilc
target/release/rsfilc.exe