API/.gitea/workflows/default.yaml
profitroll c6a1fc61b1
Some checks failed
Build the API (1.18)
Build the API (1.19)
Build the API (1.20)
Modified action
2023-04-14 14:33:53 +02:00

19 lines
410 B
YAML

on: [push]
env:
GIN_MODE: release
jobs:
build:
name: Build the API
strategy:
matrix:
go: [ '1.18', '1.19', '1.20' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
cache: true
- name: Run Build
run: go build -ldflags "-s -w"