Skip to content

Commit

Permalink
build: run go1.20.5 and go1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Jul 20, 2023
1 parent 65378ae commit 24b6608
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
File renamed without changes.
37 changes: 37 additions & 0 deletions .github/workflows/go1-20-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Go

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.6'
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)

0 comments on commit 24b6608

Please sign in to comment.