Skip to content

Commit

Permalink
Update GitHub Actions dependencies.
Browse files Browse the repository at this point in the history
- Configure Dependabot to handle GitHub Actions deps.
- Pin third-party actions to commit SHAs just to be on the safe side
  (like we're supposed to).
- Update to current versions of reusable Actions.
- Explicitly specify to use IPv4 local loopback when running the
  integration testsuite. (It already worked fine before, but prod
  doesn't run v6 so might as well make sure it's the same.)
  • Loading branch information
sengi committed Dec 11, 2023
1 parent 41d69f0 commit f2d5f2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ updates:
directory: /
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@ jobs:
name: Test Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make unit_tests
- run: make integration_tests
env:
ROUTER_MONGO_URL: localhost
ROUTER_MONGO_URL: 127.0.0.1
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: v1.53
version: v1.55.2

0 comments on commit f2d5f2b

Please sign in to comment.