Skip to content

chore: upgrade to go 1.21 (#486) #557

chore: upgrade to go 1.21 (#486)

chore: upgrade to go 1.21 (#486) #557

Workflow file for this run

name: codecov
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
backend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- name: Build assets
run: |
set -e
make build-backend-assets
- name: Test
run: |
set -e
make test-backend
- name: Upload Report to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
file: ./backend/coverage.out
fail_ci_if_error: true
verbose: true