Skip to content

Commit

Permalink
chore: remove nusami-geojson (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
miseyu authored Aug 29, 2024
1 parent f1c0647 commit 858d8bb
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 701 deletions.
51 changes: 17 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ on:
tags:
- "*"
pull_request:
paths:
- "nusamai-*/**"
- ".github/**"
- "*"

env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
Expand All @@ -19,42 +16,28 @@ env:
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
ci:
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
components: clippy, rustfmt
- name: install required tools
uses: taiki-e/install-action@v2
with:
components: clippy
tool: taplo-cli
- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
shared-key: "ci"
- name: check
run: cargo check --all
- name: rustfmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --all -- -D warnings

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run tests
- name: taplo
run: taplo fmt --check
- name: run tests
run: cargo test --workspace --all-targets --all-features
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ log = "0.4.22"
once_cell = "1.19.0"
quick-xml = "0.36.1"
regex = "1.10.6"
serde = "1.0.208"
serde_json = "1.0.125"
serde = "1.0.209"
serde_json = "1.0.127"
thiserror = "1.0.63"
url = "2.5.2"
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
- 3D Tiles
- Mapbox Vector Tiles (MVT)
- GeoPackage
- GeoJSON
- Shapefile
- KML
- CZML
Expand All @@ -38,7 +37,6 @@
- [`nusamai-mvt`](./nusamai-mvt/) — Mapbox Vector Tiles (MVT)
- [`nusamai-gpkg`](./nusamai-gpkg/) — GeoPackage
- [`nusamai-gltf`](./nusamai-gltf/) — glTF
- [`nusamai-geojson`](./nusamai-geojson/) — GeoJSON
- [`nusamai-kml`](./nusamai-kml/) — KML
- [`nusamai-czml`](./nusamai-czml/) — CZML
- [`nusamai-shapefile`](./nusamai-shapefile/) — Shapefile
Expand Down
16 changes: 0 additions & 16 deletions nusamai-geojson/Cargo.toml

This file was deleted.

Loading

0 comments on commit 858d8bb

Please sign in to comment.