Skip to content

Introduce static code analysis #93

Introduce static code analysis

Introduce static code analysis #93

Workflow file for this run

name: Build and Test CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
go-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Build
run: make build
- name: Test
run: make test
- name: Lint
run: make lint
- name: Gosec
run: make gosec
- name: Nilcheck
run: make nilcheck
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: make docker-build