Skip to content

Bump minimum go version to 1.20 (#1083) #2938

Bump minimum go version to 1.20 (#1083)

Bump minimum go version to 1.20 (#1083) #2938

Workflow file for this run

---
name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build bot
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20", "1.21"]
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build bot
working-directory: ./cmd/bot
run: go build -v