Skip to content

Update to Go v1.22 #557

Update to Go v1.22

Update to Go v1.22 #557

Workflow file for this run

name: Linting and Unit tests
on:
push:
branches:
- main
pull_request:
branches:
- main
defaults:
run:
shell: bash
jobs:
linting-and-unit-tests:
runs-on: ubuntu-latest
name: Linting and Unit tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Verify modules
run: |
go mod verify
- name: Some quality checks
run: |
make fmt
git diff --exit-code
make lint
make gosec-scan
- name: Unit and Integration Tests
run: |
make test