Skip to content

chore: setup dependencies upgrades (#160) #14

chore: setup dependencies upgrades (#160)

chore: setup dependencies upgrades (#160) #14

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.18.x", "1.19.x", "1.20.x", "1.21.x"]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Cache mods
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
- name: Download mods
run: go mod download
- name: Build
run: go build