Skip to content

chore(deps): bump cargo-bins/cargo-binstall from 1.23.0 to 1.24.0 in … #314

chore(deps): bump cargo-bins/cargo-binstall from 1.23.0 to 1.24.0 in …

chore(deps): bump cargo-bins/cargo-binstall from 1.23.0 to 1.24.0 in … #314

Workflow file for this run

name: CD
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build-docs:
name: Build docs
runs-on: ubuntu-latest
env:
GIT_COMMITTER_NAME: ci-bot
GIT_COMMITTER_EMAIL: ci-bot@example.com
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
- name: Sync
run: uv sync --group docs
- name: Build
run: uv run mkdocs build
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
id: deployment
with:
path: site/
deploy-docs:
needs: build-docs
name: Deploy docs
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
id: deployment
coverage:
name: Coverage
environment: codecov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: Swatinem/rust-cache@f0d9c3887740aee45f6153b24b3a6b815192ec16 # v2
- name: Install tarpaulin
run: cargo install cargo-tarpaulin
- name: Test w/ coverage
run: cargo tarpaulin -p stac --all-features --out xml
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: ./cobertura.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true