Skip to content

format the code

format the code #773

Workflow file for this run

name: Auto CI
on: [push, pull_request]
jobs:
build:
name: Auto triggered CI job
runs-on: ubuntu-latest
steps:
-
name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
-
name: Set up Go 1.23
uses: actions/setup-go@v5
with:
go-version: 1.23.3
id: go
-
name: Check out code into the Go module directory
uses: actions/checkout@v4
-
name: Build the frontend project
run: |
cd web
npm ci
npm run build
cd ..
go generate ./...
-
name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
-
name: Run unit tests
run: go test ./...