Skip to content

Bump the github-actions group with 4 updates #2066

Bump the github-actions group with 4 updates

Bump the github-actions group with 4 updates #2066

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