Skip to content

Move to go 1.18

Move to go 1.18 #1083

Workflow file for this run

name: Unit Test
on:
push:
branches: [ 'main', 'release-*' ]
pull_request:
branches: [ 'main', 'release-*' ]
jobs:
test:
name: Unit Test
strategy:
matrix:
go-version: [1.18.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: v2/go.sum
id: go
- name: Test
run: ./hack/unit-test.sh