Skip to content

Bump actions/setup-go from 4 to 5 #331

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #331

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.19
- name: Build
run: go build
unit-test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.19
- name: Run unit tests
run: go test ./... -coverprofile cover.out
- name: Upload the coverage to Codecov
uses: codecov/codecov-action@v3