Skip to content

Bump github/codeql-action from 2.21.5 to 2.21.9 #1438

Bump github/codeql-action from 2.21.5 to 2.21.9

Bump github/codeql-action from 2.21.5 to 2.21.9 #1438

Workflow file for this run

---
name: Consuming Projects
on:
pull_request:
permissions: {}
jobs:
unit-testing:
name: Check subctl
runs-on: ubuntu-latest
steps:
- name: Check out the submariner-operator repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
path: submariner-operator
- name: Check out the subctl repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
repository: submariner-io/subctl
path: subctl
ref: ${{ github.base_ref }}
- name: Check out the shipyard repository
# This is required so that we can run a build involving multiple
# repositories (using LOCAL_BUILD=1)
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
repository: submariner-io/shipyard
path: shipyard
ref: ${{ github.base_ref }}
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: '1.20'
check-latest: true
- name: Update the subctl build to use the current submariner-operator
run: |
cd subctl
go mod edit -replace=github.com/submariner-io/submariner-operator=../submariner-operator
go mod tidy
- name: Run Go subctl unit tests
run: make -C subctl LOCAL_BUILD=1 unit