Skip to content

Fix bugs occurs in racing condition #123

Fix bugs occurs in racing condition

Fix bugs occurs in racing condition #123

Workflow file for this run

name: flamingo-armond backend CI
on:
push:
branches:
- master
paths:
- 'backend/**'
jobs:
backend:
name: backend CI
runs-on: ubuntu-22.04
environment: Test
steps:
- name: Set up Go 1.22.5
uses: actions/setup-go@v5
with:
go-version: '1.22.5'
- name: Checkout code
uses: actions/checkout@v4
- name: Install Goose
run: go install github.com/pressly/goose/v3/cmd/goose@latest
# Alternatively, install using go install
- name: Set up gotestfmt
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
- name: Fetch dependant Go modules
run: |-
go get -v -t -d ./...
working-directory: ./backend
- name: Test code
run: |-
go test -json -v ./...
working-directory: ./backend