Skip to content

fix(deps): update dependency maplibre-gl to v5.22.0 #10387

fix(deps): update dependency maplibre-gl to v5.22.0

fix(deps): update dependency maplibre-gl to v5.22.0 #10387

Workflow file for this run

name: Server CI/CD
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-server
cancel-in-progress: true
on:
pull_request:
branches: [ main ]
types: [ opened, reopened, synchronize ]
push:
branches: [ main ]
workflow_dispatch:
jobs:
shear:
name: Lint that no unused imports are slowing the build
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Setup | Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: {persist-credentials: false}
- name: Install cargo-shear
uses: taiki-e/install-action@887bc4e03483810873d617344dd5189cd82e7b8b # v2.67.11
with:
tool: cargo-shear
- run: rustup default nightly-2026-01-15 && rustup update
- run: cargo shear --expand
tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- run: rustup update stable && rustup default stable
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: {persist-credentials: false}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
workspaces: |
server
- name: Setup | Setup Git to run feedback unit-tests
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- run: cargo test --no-run --locked
env:
CARGO_INCREMENTAL: 0
- run: cargo test -- --nocapture --quiet
env:
CARGO_INCREMENTAL: 0
linting:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- run: rustup update stable && rustup default stable
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: {persist-credentials: false}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
workspaces: |
server
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
env:
CARGO_INCREMENTAL: 0
build:
uses: ./.github/workflows/_docker-build.yml
with:
image_suffix: server
context: ./
dockerfile: server/Dockerfile
permissions:
id-token: write
contents: read
packages: write
attestations: write
# This final step is needed to mark the whole workflow as successful
# Don't change its name - it is used by the merge protection rules
done:
name: Finished server CI
runs-on: ubuntu-latest
needs: [ shear, tests, linting, build ]
if: always()
permissions: {}
steps:
- name: Result of the needed steps
run: echo "${{ toJSON(needs) }}" # zizmor: ignore[template-injection]
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}
name: CI Result
run: exit 1