timetracker/.forgejo/workflows/go.yml
Ronny Friedland 24621d48fd
Some checks failed
CodeQL / Analyze (push) Failing after 1s
Anchore Syft SBOM scan / Anchore-Build-Scan (push) Failing after 6s
Go / build (push) Successful in 42s
Create the timetracker DEB / Create Package (push) Failing after 1s
move github actions to forgejo
2025-07-24 12:59:00 +02:00

28 lines
530 B
YAML

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Build
run: go build -v ./...
- name: Test
run: go test -cover -v ./...