Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/go_app_pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
description: 'GOPRIVATE env for go commands'
required: false
type: string
APTGET_PACKAGES:
description: 'packages for apt-get to install'
required: false
type: string
secrets:
GH_CI_PAT:
description: 'Token password for GitHub auth'
Expand Down Expand Up @@ -82,6 +86,12 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
# apt-get install packages that might be needed by CGO
- name: Install packages
if: ${{ inputs.APTGET_PACKAGES }}
run: |
sudo apt-get update
sudo apt-get install -y ${{ inputs.APTGET_PACKAGES }}
# Use auth to get access to private Git repos for Go code dependencies.
- name: Configure git for private modules
env:
Expand Down