Skip to content

Commit

Permalink
Merge pull request #9 from hypnoglow/add-dependabot
Browse files Browse the repository at this point in the history
Add dependabot
  • Loading branch information
hypnoglow authored May 29, 2022
2 parents ad58e2b + 8634bcd commit a6cf7a1
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 12 deletions.
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

0 comments on commit a6cf7a1

Please sign in to comment.