summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:36:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:36:04 +0000
commitb09c6d56832eb1718c07d74abf3bc6ae3fe4e030 (patch)
treed2caec2610d4ea887803ec9e9c3cd77136c448ba /dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml
parentInitial commit. (diff)
downloadicingadb-upstream.tar.xz
icingadb-upstream.zip
Adding upstream version 1.1.0.upstream/1.1.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml b/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml
new file mode 100644
index 0000000..7ed538b
--- /dev/null
+++ b/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml
@@ -0,0 +1,40 @@
+name: build
+on:
+ push:
+ branches:
+ - master
+ - main
+ pull_request:
+
+jobs:
+ test:
+ name: Test & Build
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: Set up Go 1.16
+ uses: actions/setup-go@v2
+ with:
+ go-version: ^1.16
+
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v2
+
+ - name: Run go mod tidy
+ run: |
+ set -e
+ go mod tidy
+ output=$(git status -s)
+ if [ -z "${output}" ]; then
+ exit 0
+ fi
+ echo 'We wish to maintain a tidy state for go mod. Please run `go mod tidy` on your branch, commit and push again.'
+ echo 'Running `go mod tidy` on this CI test yields with the following changes:'
+ echo "$output"
+ exit 1
+
+ - name: Test
+ run: go test -race ./...
+
+ - name: Build
+ run: go build ./...