Skip to content

Bump frozen to fix compiling with go 1.23 (#34) #13

Bump frozen to fix compiling with go 1.23 (#34)

Bump frozen to fix compiling with go 1.23 (#34) #13

Workflow file for this run

name: Go
on:
push:
branches: [master]
pull_request:
env:
GOPROXY: ${{ vars.GOPROXY }}
jobs:
build-and-test:
strategy:
matrix:
os: ${{ vars.BUILD_AND_TEST_OS_MATRIX && fromJSON(vars.BUILD_AND_TEST_OS_MATRIX) || fromJSON('[ "ubuntu-latest", "macOS-latest", "windows-latest" ]') }}
name: Build and test
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
check-latest: true
id: go
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Make
# lint-with-docker doesn't work on mac/win github actions.
if: runner.os == 'ubuntu-latest'
run: make
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: Test
# lint-with-docker doesn't work on mac/win github actions. Just run test only.
if: runner.os != 'ubuntu-latest'
run: make test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}