Skip to content

feat: Init frontend project with template #40

feat: Init frontend project with template

feat: Init frontend project with template #40

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
env:
GO_VERSION: 1.24.10
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Download Go modules
run: cd backend && go mod tidy && go mod download
- name: Build
run: cd backend && go build -v ./...
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.2
- name: Run golangci-lint
run: cd backend && golangci-lint run ./...
- name: Run tests
run: cd backend && go test -v ./...