Workflow config file is invalid. Please check your config file: yaml: line 20: did not find expected key
2025-05-27 20:16:58 +02:00

30 lines
699 B
YAML

name: Gitea Build Action
run-name: ${{ gitea.actor }} build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ "1.24.x" ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: [server] Install dependencies
run: go get ./server
- name: [server] Build
run: go build -v ./server/...
- name: [admin] Install dependencies
run: go get ./admin
- name: [admin] Build
run: go build -v ./admin/...