Files
autogits/.gitea/workflows/formatting.yaml
T
adamm 88fb9c6bc3
gofmt / Format checking (pull_request) Successful in 4s
go-generate-check / go-generate-check (pull_request) Successful in 13s
go-test-unit / go-test-unit (pull_request) Successful in 46s
Integration (Selective) / check (pull_request) Successful in 1s
Integration (Selective) / integration (pull_request) Successful in 9m26s
gofmt / Format checking (push) Successful in 3s
go-generate-check / go-generate-check (push) Successful in 12s
go-test-unit / go-test-unit (push) Successful in 42s
Integration (All) / t (push) Successful in 9m33s
Format checker
2026-06-05 15:20:10 +02:00

21 lines
537 B
YAML

name: gofmt
on:
push:
branches: ['main']
pull_request:
workflow_dispatch:
jobs:
go-test-unit:
name: Format checking
container:
image: registry.opensuse.org/devel/factory/git-workflow/containers/opensuse/bci/golang-extended:latest
steps:
- name: Checkout
run: |
git clone --no-checkout --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }} .
git fetch origin ${{ gitea.ref }}
git checkout FETCH_HEAD
- name: Run formatting check
run: make gofmt