Skip to content

Commit

Permalink
feat(deps): bump github.com/google/go-github to v58
Browse files Browse the repository at this point in the history
feat(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7
tools(deps): bump github.com/cloudflare/circl to 1.3.7
feat(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0
ci/cd(deps): bump actions/download-artifact from 3 to 4
ci/cd(deps): bump actions/setup-go from 4 to 5
ci/cd(deps): bump actions/upload-artifact from 3 to 4
  • Loading branch information
kamilsk committed Jan 31, 2023
1 parent 020d048 commit bc6ce3f
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 57 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Install a GitHub CLI cache extension
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
Expand Down
17 changes: 4 additions & 13 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5.0.0
with: { go-version: '1.21', cache: true }

- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
%LocalAppData%\go-build
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: ${{ runner.os }}-go-
- run: make env deps-fetch test
- uses: goreleaser/goreleaser-action@v5
- uses: goreleaser/goreleaser-action@v5.0.0
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
with:
Expand All @@ -41,7 +32,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: rtCamp/action-slack-notify@v2
- uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.healthcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Fetch new test data
Expand All @@ -33,10 +33,10 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }
- name: Set up Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5.0.0
with: { go-version: '${{ matrix.go }}' }

- name: Prepare and run tests
Expand All @@ -50,7 +50,7 @@ jobs:

steps:
- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }
- name: Set up Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5.0.0
with: { go-version: 1.21.x, cache-dependency-path: tools/go.sum }

- name: Prepare and run linter
Expand All @@ -53,16 +53,16 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }
- name: Set up Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5.0.0
with: { go-version: '${{ matrix.go }}' }

- name: Prepare and run tests
run: make env deps-fetch test-with-coverage
- name: Store code coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.0.0
if: matrix.go == '1.21.x'
with: { name: code-coverage-report, path: c.out }

Expand All @@ -76,14 +76,14 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Fetch code coverage report
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.0
with: { name: code-coverage-report }
- name: Send code coverage report to Codecov (codecov.io)
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3.1.4
with: { files: c.out }

notify:
Expand All @@ -94,7 +94,7 @@ jobs:

steps:
- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
with: { fetch-depth: 0, ref: '${{ github.event.pull_request.head.ref }}' }
4 changes: 2 additions & 2 deletions .github/workflows/runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
uses: Mattraks/delete-workflow-runs@v2.0.6
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
Expand All @@ -45,7 +45,7 @@ jobs:

steps:
- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }
- name: Set up Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5.0.0
with: { go-version: 1.21.x, cache-dependency-path: tools/go.sum }

- name: Install and check tools
Expand All @@ -43,7 +43,7 @@ jobs:

steps:
- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
Expand Down
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/fatih/color v1.16.0
github.com/go-git/go-git/v5 v5.11.0
github.com/golang/mock v1.6.0
github.com/google/go-github/v57 v57.0.0
github.com/google/go-github/v58 v58.0.0
github.com/spf13/afero v1.11.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
Expand All @@ -19,7 +19,7 @@ require (
go.octolab.org/toolkit/cli v0.6.3
go.octolab.org/toolkit/config v0.0.4
go.octolab.org/toolkit/protocol v0.1.0
golang.org/x/oauth2 v0.15.0
golang.org/x/oauth2 v0.16.0
golang.org/x/sync v0.6.0
gopkg.in/yaml.v2 v2.4.0
)
Expand All @@ -29,7 +29,7 @@ require (
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/andybalholm/cascadia v1.3.1 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emirpasic/gods v1.18.1 // indirect
Expand Down Expand Up @@ -63,11 +63,11 @@ require (
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.13.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down
25 changes: 13 additions & 12 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/command/hub/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"sync"

"github.com/google/go-github/v57/github"
"github.com/google/go-github/v58/github"
"github.com/spf13/cobra"
"go.octolab.org/async"
"go.octolab.org/safe"
Expand Down
2 changes: 1 addition & 1 deletion internal/service/github/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"net/http"

"github.com/google/go-github/v57/github"
"github.com/google/go-github/v58/github"
)

// New returns a new GitHub service.
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/charithe/durationcheck v0.0.10 // indirect
github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/curioswitch/go-reassign v0.2.0 // indirect
github.com/daixiang0/gci v0.10.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions tools/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc6ce3f

Please sign in to comment.