Skip to content

Update to go version 20 #209

Update to go version 20

Update to go version 20 #209

Workflow file for this run

name: qa
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.platform.on }}
name: ${{ matrix.go }} ${{ matrix.platform.name }} ${{ matrix.platform.type }}
strategy:
fail-fast: false
matrix:
go:
- 1.20.x
platform:
- { on: ubuntu-20.04, name: linux, type: desktop }
- { on: ubuntu-20.04, name: linux, type: browser }
#SKIP - { on: ubuntu-18.04, name: linux, type: mobile }
- { on: macos-11, name: macos, type: desktop }
- { on: macos-11, name: macos, type: browser }
- { on: macos-12, name: M1, type: desktop }
- { on: macos-12, name: M1, type: browser }
#SKIP - { on: macos-10.15, name: macos, type: mobile }
- { on: windows-2019, name: windows, type: desktop }
#SKIP - { on: windows-2019, name: windows, type: browser }
#SKIP - { on: windows-2019, name: windows, type: mobile }
env:
OS_FAMILY: ${{ matrix.platform.name }}
ENV_TYPE: ${{ matrix.platform.type }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v2
- name: Setup toolchain
run: bash script/toolchain.sh -s
- name: Run qa
run: make qa
- name: Run coveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make coveralls
- name: Run bench
run: make bench
- name: Run verify
run: make verify