Skip to content

Improve error handling in controllers #166

Improve error handling in controllers

Improve error handling in controllers #166

Workflow file for this run

name: Go
on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: WillAbides/setup-go-faster@v1.14.0
with:
go-version: 1.21
- run: ls ${{ github.workspace }}
- name: Build
run: go build -v ./...
working-directory: ${{ github.workspace }}
- name: Test
run: go test -v ./...
working-directory: ${{ github.workspace }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: WillAbides/setup-go-faster@v1.14.0
with:
go-version: 1.21
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
working-directory: ${{ github.workspace }}