Skip to content

build: force go1.20.5 #2

build: force go1.20.5

build: force go1.20.5 #2

Workflow file for this run

name: go1.20.5
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Go Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: '= 1.20.5'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw
- name: Check
run: make check
env:
GOLANGCI_LINTERS: gosec
- name: Upload Code Coverage
if: runner.os == 'Linux'
run: bash <(curl -s https://codecov.io/bash)