use references to strings in the file where possible instead of alway… #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main CI | |
on: | |
push: | |
branches: ['main'] | |
paths: | |
- '.github/workflows/main_ci.yml' | |
- 'data/**/*' | |
- 'src/**/*.rs' | |
- 'Cargo.lock' | |
- 'Cargo.toml' | |
pull_request: | |
branches: ['main'] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clippy | |
run: cargo clippy -- -Dwarnings | |
- name: Build | |
run: cargo build | |
- name: Test | |
run: cargo test |