Skip to content

Merge branch 'public-transport:main' into main #5

Merge branch 'public-transport:main' into main

Merge branch 'public-transport:main' into main #5

Workflow file for this run

# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
name: MOTIS Proxy Build
on:
push:
paths:
- "motis-proxy/**"
pull_request:
paths:
- "motis-proxy/**"
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo check
working-directory: motis-proxy
run: cargo check
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
working-directory: motis-proxy
run: cargo test