Skip to content

Commit

Permalink
Merge pull request #71 from nabeken/origin/github-renovate/github.com…
Browse files Browse the repository at this point in the history
…-google-go-github-v54-57.x

chore(dep): update the go-github and add the test
  • Loading branch information
nabeken authored Dec 4, 2023
2 parents 172791a + 30c5469 commit cae85ab
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1,549 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,20 @@ jobs:

- name: Test
run: go test -v -cover ./...

- name: Test with Github API
run: |
T=$(mktemp)
trap "rm -f $T" 1 2 3 15
urlparam=""
if [ -n "${GITHUB_URL}" ]; then
urlparam="-url ${GITHUB_URL}"
fi
eval "$(./go-github-apps -export -app-id "${GH_APP_ID}" -inst-id "${GH_APP_INST_ID}")"
curl --fail -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/
env:
GH_APP_INST_ID: ${{ secrets.installation_id }}
GH_APP_ID: ${{ secrets.app_id }}
GITHUB_PRIV_KEY: ${{ secrets.private_key }}
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ go 1.14

require (
github.com/bradleyfalzon/ghinstallation/v2 v2.8.0
github.com/google/go-github/v54 v54.0.0
github.com/google/go-github/v57 v57.0.0
github.com/k0kubun/pp/v3 v3.2.0
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
)
Loading

0 comments on commit cae85ab

Please sign in to comment.