summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/dependabot.yml6
-rw-r--r--dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/workflows/go.yml40
2 files changed, 46 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/dependabot.yml b/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/dependabot.yml
new file mode 100644
index 0000000..ab2c4e2
--- /dev/null
+++ b/dependencies/pkg/mod/github.com/fatih/color@v1.13.0/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+ - package-ecosystem: "gomod"
+ directory: "/" # Location of go.mod
+ schedule:
+ interval: "daily"
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 ./...