Bump golang.org/x/net from 0.30.0 to 0.32.0 in /k8s-test-runner #988
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: Framework Docker Component Tests | |
on: | |
push: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-framework | |
cancel-in-progress: true | |
jobs: | |
framework-component-tests: | |
defaults: | |
run: | |
working-directory: framework | |
env: | |
CTF_JD_IMAGE: ${{ secrets.CTF_JD_IMAGE }} | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- name: Configure AWS credentials using OIDC | |
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 | |
with: | |
role-to-assume: ${{ secrets.PUBLIC_AWS_ECR_ROLE }} | |
aws-region: us-east-1 | |
- name: Authenticate to ECR Public | |
id: login-ecr-public | |
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1 | |
with: | |
registry-type: public | |
- name: Check for changes in Framework | |
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'framework/**' | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.8 | |
- name: Cache Go modules | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: go-modules-${{ hashFiles('**/go.sum') }}-${{ runner.os }}-framework | |
restore-keys: | | |
go-modules-${{ hashFiles('**/go.sum') }}-${{ runner.os }}-framework | |
- name: Install dependencies | |
run: go mod download | |
- name: Run Docker Component Tests | |
if: steps.changes.outputs.src == 'true' | |
run: | | |
go test -timeout 2m -v -count 1 -run TestComponent ./... |