Skip to content

Update Admiral to v0.16.0-m2 #1222

Update Admiral to v0.16.0-m2

Update Admiral to v0.16.0-m2 #1222

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