Bump the go_modules group across 8 directories with 4 updates #622
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- "acceptance-test-*" | |
pull_request: | |
env: | |
GO_VERSION: 1.19 | |
GOFLAGS: -mod=readonly | |
jobs: | |
build: | |
name: Acceptance test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
# - name: Setup upterm session | |
# uses: lhotari/action-upterm@v1 | |
# with: | |
# ## limits ssh access and adds the ssh public key for the user which triggered the workflow | |
# limit-access-to-actor: true | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Cache Go module dependencies | |
id: cache-go-module-dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: go-mod-cache-${{ runner.os }}-${{ env.GO_VERSION }}-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
go-mod-cache-${{ runner.os }}-${{ env.GO_VERSION }} | |
go-mod-cache-${{ runner.os }} | |
go-mod-cache | |
- name: Set Git refname | |
id: set-git-refname | |
run: echo "git_refname=$(echo "${{ github.ref }}" | sed -r 's@refs/(heads|pull|tags)/@@g')" >> $GITHUB_OUTPUT | |
- name: Deploy to kind cluster (istio-operator) | |
run: | | |
test/deploy-kind.sh | |
env: | |
DOCKER_BUILDKIT: "1" | |
- name: Run simple go http client (istio-operator) | |
working-directory: examples/http | |
run: | | |
make run-client | |
env: | |
CLIENT_REQUEST_URL: "http://echo.testing:80" | |
- name: Kind cluster cleanup | |
run: | | |
kind delete cluster --name nasp-test-cluster | |
- name: Deploy to kind cluster (istioctl) | |
run: | | |
test/deploy-kind.sh | |
env: | |
DOCKER_BUILDKIT: "1" | |
ISTIO_INSTALLER: istioctl | |
- name: Run simple go http client (istioctl) | |
working-directory: examples/http | |
run: | | |
make run-client | |
env: | |
CLIENT_REQUEST_URL: "http://echo.testing:80" | |
- name: Run simple go tcp client (istioctl) | |
working-directory: examples/tcp | |
run: | | |
make run-client |