Skip to content

Bumped Go version in the CI/CD #22

Bumped Go version in the CI/CD

Bumped Go version in the CI/CD #22

Workflow file for this run

name: Test
on:
push:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '^1.23.0'
- name: Cache Go modules
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install
run: go get -t -v ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -coverprofile=_dist/coverage.out -v ./...