Files
InnkeeperBot/.gitea/workflows/build.yaml
MatteoSchiff d95946bd4d
All checks were successful
Build artifact / build (push) Successful in 34s
workflows: Fix upload-artifact version not supported
2024-03-13 13:22:39 +01:00

26 lines
484 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