fix(deps): update module github.com/google/go-github/v64 to v67 #733
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
# renovate: datasource=golang-version depName=golang | |
GO_VERSION: '1.23.3' | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 | |
with: | |
go-version: '${{ env.GO_VERSION }}' | |
id: go | |
- name: Build | |
run: go build -v ./... | |
- 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 }} |