Skip to content

Bump the github-actions group with 4 updates #2140

Bump the github-actions group with 4 updates

Bump the github-actions group with 4 updates #2140

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@d632683dd7b4114ad314bca15554477dd762a938
with:
path: submariner-operator
- name: Check out the subctl repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
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@d632683dd7b4114ad314bca15554477dd762a938
with:
repository: submariner-io/shipyard
path: shipyard
ref: ${{ github.base_ref }}
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: '1.22'
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