Skip to content

build(deps-dev): bump @testing-library/user-event in /frontend/octavi… #251

build(deps-dev): bump @testing-library/user-event in /frontend/octavi…

build(deps-dev): bump @testing-library/user-event in /frontend/octavi… #251

Workflow file for this run

name: Backend CI Pipeline
on:
push:
branches:
- main
pull_request:
defaults:
run:
working-directory: backend
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
go_version_file: backend/go.mod
workdir: backend
fail_on_error: true
filter_mode: nofilter
golangci_lint_flags: --timeout=10m
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- name: Mod Download
run: go mod download
- name: Build
run: go build
test:
name: Test
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- name: Run Test
run: go test ./... -v