Skip to content

Release stac, stac-api, stac-cli, stac-validate #38

Release stac, stac-api, stac-cli, stac-validate

Release stac, stac-api, stac-cli, stac-validate #38

Workflow file for this run

name: Server
on:
pull_request:
paths:
- server/**
push:
branches:
- main
paths:
- server/**
workflow_dispatch:
defaults:
run:
working-directory: server
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
jobs:
test-server:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- name: Check
run: cargo check
- name: Check
run: cargo check -F axum
- name: Check
run: cargo check -F pgstac
- name: Test
run: cargo test -F axum -F pgstac