mirror of
https://github.com/EricNeid/go-sleep.git
synced 2025-01-10 17:45:07 +00:00
28 lines
449 B
YAML
28 lines
449 B
YAML
# SPDX-FileCopyrightText: 2021 Eric Neidhardt
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
|
|
- name: Build
|
|
run: go build -v ./cmd/sleep/
|
|
|
|
- name: Test
|
|
run: go test -v ./...
|