mirror of
https://github.com/nyanotech/object-holder.git
synced 2025-12-16 03:20:25 -08:00
22 lines
361 B
YAML
22 lines
361 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ "depot" ]
|
|
pull_request:
|
|
branches: [ "depot" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.22'
|
|
- name: Build
|
|
run: go build -v ./...
|
|
- name: Test
|
|
run: go test -v ./...
|