Skip to content

Upgrading to Go 1.21 #373

Upgrading to Go 1.21

Upgrading to Go 1.21 #373

Workflow file for this run

name: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Set up node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Build Backend
run: go build -v ./...
- name: Test Backend
run: go test -v -coverprofile=coverage.cov -coverpkg ./... -covermode=atomic ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage.cov
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build UI
run: cd ui && npm ci