Skip to content

Merge pull request #1263 from adamdecaf/feat-addenda98-refused #1272

Merge pull request #1263 from adamdecaf/feat-addenda98-refused

Merge pull request #1263 from adamdecaf/feat-addenda98-refused #1272

Workflow file for this run

# Use https://app.stepsecurity.io/ to improve workflow security
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
name: Go Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: '>= 1.20.4'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw
- name: Check OpenAPI
if: runner.os == 'Linux'
run: make check-openapi
- name: Check
run: make check
env:
GOLANGCI_LINTERS: gosec
- name: Upload Code Coverage
if: runner.os == 'Linux'
run: bash <(curl -s https://codecov.io/bash)
docker:
name: Docker
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: '>= 1.20.4'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Docker Build
run: make docker
- name: Docker Tests
run: make test-integration
- name: Cleanup
run: make clean-integration