Skip to content

Commit

Permalink
Merge pull request #10 from chrisgavin/lock-action-versions
Browse files Browse the repository at this point in the history
Lock GitHub Action versions and update with Dependabot.
  • Loading branch information
chrisgavin authored Apr 2, 2022
2 parents 08817e9 + ce7da41 commit e76bb79
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
with:
go-version: 1.17.1
- name: Build
Expand All @@ -30,9 +30,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
with:
go-version: 1.17.1
- name: Test
Expand All @@ -43,9 +43,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
with:
go-version: 1.17.1
- name: Check Modules
Expand All @@ -56,6 +56,6 @@ jobs:
exit 1
fi
- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018
with:
version: v1.29
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@28eead240834b314f7def40f6fcba65d100d99b1
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@28eead240834b314f7def40f6fcba65d100d99b1
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
with:
go-version: 1.17.1
- name: Release
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@b953231f81b8dfd023c58e0854a721e35037f28b
with:
version: latest
args: release --rm-dist
Expand Down

0 comments on commit e76bb79

Please sign in to comment.