Skip to content

update to golang1.22 #180

update to golang1.22

update to golang1.22 #180

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
golangci:
name: Linting
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: tidy
run: go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.59
args: --timeout 3m0s
unit-tests:
name: Unit Tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: tidy
run: go mod tidy
- name: Run Test Scripts
run: |
make gha