Skip to content

Update go version to 1.22 #190

Update go version to 1.22

Update go version to 1.22 #190

Workflow file for this run

on: [push, pull_request,workflow_dispatch]
name: build
jobs:
test:
strategy:
matrix:
go-version: [1.22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Test
run: go test ./internal/... ./cmd/...
if: runner.os != 'Linux'
- name: Test with coverage
run: make test lint build_linux integration_test
if: runner.os == 'Linux'
- name: Upload coverage data to codecov.io
uses: codecov/codecov-action@v3
with:
file: ./coverage.txt
if: runner.os == 'Linux'
- name: Update goreportcard
uses: creekorful/[email protected]
if: runner.os == 'Linux'