feat: add endpoint to retrieve route ways #140
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Server | |
on: | |
pull_request: | |
paths: | |
- "server/**" | |
defaults: | |
run: | |
working-directory: ./server | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
cache-dependency-path: ./server/go.sum | |
- name: Code generation | |
run: make generate | |
- name: Run lint | |
run: make lint | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
cache-dependency-path: ./server/go.sum | |
- name: Code generation | |
run: make generate | |
- name: Install dependencies | |
run: make vendor | |
- name: Run unit tests | |
run: make test-unit | |
test-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
cache-dependency-path: ./server/go.sum | |
- name: Code generation | |
run: make generate | |
- name: Install dependencies | |
run: make vendor | |
- name: Run integration tests | |
run: make test-integration | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
cache-dependency-path: ./server/go.sum | |
- name: Code generation | |
run: make generate | |
- name: Install dependencies | |
run: make vendor | |
- name: Run build | |
run: make build |