Skip to content

Added ingestion of Canada transit network (#6) #36

Added ingestion of Canada transit network (#6)

Added ingestion of Canada transit network (#6) #36

Workflow file for this run

name: Rust CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
rust:
- stable
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
- name: Display Toolchain Information
run: |
cargo --version --verbose
rustc --version
cargo clippy --version
- name: Lint
run: |
cargo fmt -- --check
cargo clippy -- -D warnings
- name: Test
run: |
cargo check
cargo test --all
- name: Build
run: |
cargo build --release
- name: Dry Publish
uses: katyo/publish-crates@v2
with:
dry-run: true
ignore-unpublished-changes: true