Skip to content

Changing to json-errors instead of redirects #8

Changing to json-errors instead of redirects

Changing to json-errors instead of redirects #8

name: Continuous Integration
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Install dependencies
run: go get ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test ./...
- name: Gosec Security Checker
uses: securego/gosec@v2.21.4
with:
args: ./...