mirror of
https://github.com/skidoodle/iphistory.git
synced 2026-04-27 23:37:35 +02:00
26 lines
401 B
YAML
26 lines
401 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.25.4"
|
|
cache: true
|
|
|
|
- name: Generate
|
|
run: go generate ./...
|
|
|
|
- name: Build
|
|
run: go build -v .
|