Skip to content

chore(ci): use last go version with codeql #208

chore(ci): use last go version with codeql

chore(ci): use last go version with codeql #208

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
- "1.22"
- "1.23"
- "1.24"
- "1.25"
- "1.26"
- "stable"
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
stable: false
- name: Build
run: make build
- name: Test
run: make test
- name: Test coverage
run: make coverage
if: matrix.go == 'stable'
- name: Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cover.out
flags: unittests
verbose: true
if: matrix.go == 'stable'