Skip to content

Upgrade Go version to 1.21 #1402

Upgrade Go version to 1.21

Upgrade Go version to 1.21 #1402

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ 'main', 'master' ]
pull_request:
branches: [ 'main', 'master' ]
jobs:
unit-tests:
name: Unit Tests
strategy:
matrix:
go-version: [1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
defaults:
run:
shell: bash
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Run make test
run: |
make test
- name: Run test benchmarks
run: |
make benchmarks