Skip to content

Upgrade dependencies and go version #8

Upgrade dependencies and go version

Upgrade dependencies and go version #8

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
steps:
- name: Set up Go
uses: actions/setup-go@v24
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test -v .