Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependabot #9

Merged
merged 1 commit into from
May 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 0 # Disable version updates.
- package-ecosystem: "gomod"
directory: "/gopgv9"
schedule:
interval: "monthly"
open-pull-requests-limit: 0 # Disable version updates.
- package-ecosystem: "gomod"
directory: "/gopgv10"
schedule:
interval: "monthly"
open-pull-requests-limit: 0 # Disable version updates.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
39 changes: 27 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,27 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v3.2.0
with:
go-version: 1.13
# cache: true
go-version-file: 'go.mod'

- name: Install dependencies
run: |
go mod download
go mod vendor

- name: Run linters
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3.2.0
with:
version: v1.31
args: --verbose
# See: https://github.com/golangci/golangci-lint-action/issues/244
skip-pkg-cache: true
skip-build-cache: true

- name: Run tests
run: |
Expand All @@ -42,23 +47,28 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v3.2.0
with:
go-version: 1.13
# cache: true
go-version-file: 'go.mod'

- name: Install dependencies
run: |
go mod download
go mod vendor

- name: Run linters
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3.2.0
with:
version: v1.31
working-directory: gopgv9
args: --verbose
# See: https://github.com/golangci/golangci-lint-action/issues/244
skip-pkg-cache: true
skip-build-cache: true

- name: Run tests
run: |
Expand All @@ -73,23 +83,28 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v3.2.0
with:
go-version: 1.13
# cache: true
go-version-file: 'go.mod'

- name: Install dependencies
run: |
go mod download
go mod vendor

- name: Run linters
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3.2.0
with:
version: v1.31
working-directory: gopgv10
args: --verbose
# See: https://github.com/golangci/golangci-lint-action/issues/244
skip-pkg-cache: true
skip-build-cache: true

- name: Run tests
run: |
Expand Down