feat(server): create a minimal server #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: AGPL-3.0-or-later | |
# | |
# SPDX-FileCopyrightText: 2024 Tristan Partin <tristan@partin.io> | |
name: Build Server | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- "**.go" | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build-server: | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/fedora/fedora:latest | |
steps: | |
- name: Checkout splitsies | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version: "1.22" | |
- name: Install Dependencies | |
run: | | |
dnf install bash just | |
- name: Build the Server | |
run: | | |
just debug |