Files
InnkeeperBot/.gitea/workflows/build.yaml
MatteoSchiff 29f03992a4
All checks were successful
Build artifact / build (push) Successful in 18s
workflows: Add release workflow
2024-03-13 14:28:50 +01:00

27 lines
485 B
YAML

name: Build artifact
run-name: Build from ${{ gitea.actor }} 🚀
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: InnkeeperBot
path: ./InnkeeperBot