From b26cd8f9d71bb38123e6e88e257dd7b76ca35d21 Mon Sep 17 00:00:00 2001 From: John Brunton Date: Sat, 13 Feb 2021 16:02:22 +0000 Subject: [PATCH] add go-get test --- .gflows/workflows/test-go-get/build.yml | 14 ++++++++++++++ .github/workflows/test-go-get.yml | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .gflows/workflows/test-go-get/build.yml create mode 100644 .github/workflows/test-go-get.yml diff --git a/.gflows/workflows/test-go-get/build.yml b/.gflows/workflows/test-go-get/build.yml new file mode 100644 index 0000000..e747112 --- /dev/null +++ b/.gflows/workflows/test-go-get/build.yml @@ -0,0 +1,14 @@ +#@ load("workflows.lib.yml", "pull_request_defaults") +#@ load("steps.lib.yml", "setup_go") + +name: build + +"on": #@ pull_request_defaults() + +jobs: + build: + runs-on: ubuntu-latest + steps: + - #@ setup_go() + - run: go get github.com/jbrunton/gflows + - run: gflows version diff --git a/.github/workflows/test-go-get.yml b/.github/workflows/test-go-get.yml new file mode 100644 index 0000000..8b145e1 --- /dev/null +++ b/.github/workflows/test-go-get.yml @@ -0,0 +1,19 @@ +# File generated by gflows, do not modify +# Source: .gflows/workflows/test-go-get +name: build +"on": + pull_request: + branches: + - develop + push: + branches: + - develop +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v2 + with: + go-version: ^1.14.4 + - run: go get github.com/jbrunton/gflows + - run: gflows version