Skip to content

.github/workflows/go.yml #1666

.github/workflows/go.yml

.github/workflows/go.yml #1666

Workflow file for this run

on:
schedule:
- cron: "0 9 * * *"
push:
branches:
- '*'
paths:
- '**.go'
pull_request:
branches:
- '*'
paths:
- '**.go'
# allow you to run this workflow manually from tab
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [stable]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Go Install
run: go install ./...
- name: Get dependencies
run: git submodule update --init
- name: Go Test
run: go test -short ./...