Files
scratchbox/.gitea/workflows/fmt.yaml
T
s1d3sw1ped 34fd1a5a4d
CI / Go Tests (push) Failing after 26s
CI / Build (push) Successful in 15s
Format / gofmt (push) Successful in 5s
Add Docker support with Dockerfile, entrypoint script, and CI workflows
- Introduced a Dockerfile for building the application with Go and Node.js dependencies.
- Added a docker-entrypoint.sh script to manage container execution.
- Created a .dockerignore file to exclude unnecessary files from the Docker context.
- Updated Makefile to include a new target for building the Docker image.
- Added CI workflows for testing, formatting, and releasing artifacts in Gitea.
2026-06-01 02:03:17 -05:00

32 lines
571 B
YAML

name: Format
on:
push:
branches:
- "**"
pull_request:
jobs:
gofmt:
name: gofmt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Verify formatting
shell: bash
run: |
files="$(gofmt -l .)"
if [[ -n "${files}" ]]; then
echo "These files need formatting:"
echo "${files}"
exit 1
fi