Skip to content

feat(projection): Cartesian to Geodetic #7

feat(projection): Cartesian to Geodetic

feat(projection): Cartesian to Geodetic #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "*"
pull_request:
paths:
- "nusamai-*/**"
- ".github/**"
- "*"
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: short
ACTION_LOG_DISABLE: true
jobs:
check:
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Check
run: cargo check --all
style:
name: cargo fmt
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: rustfmt
run: cargo fmt --all -- --check
warnings:
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: rustfmt
run: cargo clippy --all -- -D warnings
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: cargo test --workspace --all-targets --all-features