Skip to content

Commit

Permalink
chore: setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
slavik-pastushenko committed Nov 8, 2023
1 parent 9df01e6 commit 46ace03
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,18 @@
name: release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -10,15 +10,16 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run lint
run: cargo fmt -- --check
- name: Run tests
run: cargo test --verbose
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
authors = ["Chargetrip <dev@chargetrip.com>"]
keywords = ["supercluster", "geospatial", "geo", "tile", "mvt"]
exclude = [".github/**"]
documentation = "https://docs.rs/supercluster/1.0.8"
documentation = "https://docs.rs/supercluster"
repository = "https://github.com/chargetrip/supercluster-rust"

[dependencies]
Expand Down

0 comments on commit 46ace03

Please sign in to comment.