Fix broken Docs build through updating Frontend API Reference Pipeline #363
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: Backend Go CI | |
# Events that trigger this workflow | |
on: [ push, pull_request ] | |
defaults: | |
run: | |
working-directory: ./backend-go | |
jobs: | |
style: | |
name: Style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 📥 | |
uses: actions/[email protected] | |
- name: Check style 🧽 | |
run: docker compose --file docker-compose.ci.yml --profile style up --abort-on-container-exit | |
- name: Stop containers 🛑 | |
if: always() | |
run: docker compose --file docker-compose.ci.yml --profile style down | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 📥 | |
uses: actions/[email protected] | |
- name: Run tests 🛃 | |
run: docker compose --file docker-compose.ci.yml --profile test up --abort-on-container-exit | |
- name: Stop containers 🛑 | |
if: always() | |
run: docker compose --file docker-compose.ci.yml --profile test down |