Skip to content

Golang 1.12

Golang 1.12 #1044

Workflow file for this run

#
# Author: Hari Sekhon
# Date: Tue Feb 4 09:53:28 2020 +0000
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/HariSekhon/DevOps-Golang-tools
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
#
# https://www.linkedin.com/in/HariSekhon
#
name: Golang 1.12
on:
push:
branches:
- master
- main
paths:
- '**/*.go'
- go.mod
- go.sum
- .github/workflows/golang_1.12.yaml
pull_request:
branches:
- master
- main
paths:
- '**/*.go'
- go.mod
- go.sum
- .github/workflows/golang_1.12.yaml
workflow_dispatch:
inputs:
debug:
type: boolean
required: false
default: false
schedule:
- cron: '0 7 * * *'
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
# github.event.repository context not available in scheduled workflows
#if: github.event.repository.fork == false
if: github.repository_owner == 'HariSekhon'
name: Golang 1.12
uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master
with:
container: golang:1.12
caches: apt golang
debug: ${{ github.event.inputs.debug }}