Skip to content

chore(deps): bump github.com/UpCloudLtd/upcloud-go-api/v8 from 8.34.3 to 8.35.0 #756

chore(deps): bump github.com/UpCloudLtd/upcloud-go-api/v8 from 8.34.3 to 8.35.0

chore(deps): bump github.com/UpCloudLtd/upcloud-go-api/v8 from 8.34.3 to 8.35.0 #756

Workflow file for this run

name: Examples
on:
pull_request:
paths:
- ".github/workflows/examples.yml"
- "**.go"
- "go.mod"
- "go.sum"
- "examples/**.md"
workflow_dispatch:
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}
cancel-in-progress: false
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout head
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: "go.mod"
- name: Install mdtest and upctl
run: |
go install github.com/UpCloudLtd/mdtest@latest
make build
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
- name: Install kubectl
uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede
with:
version: 'latest'
- name: Test examples
env:
UPCLOUD_USERNAME: ${{ secrets.UPCLOUD_USERNAME }}
UPCLOUD_PASSWORD: ${{ secrets.UPCLOUD_PASSWORD }}
run: |
upctl version
upctl account show > /dev/null # Ensure that credentials are valid
mdtest examples/
cleanup:
name: Cleanup
runs-on: ubuntu-latest
needs: test
if: ${{ always() }}
steps:
- name: Install upctl
uses: UpCloudLtd/upcloud-cli-action@431cd636a879b137a92c291f6c72f68e8c01b738 # v1.0.1
with:
username: ${{ secrets.UPCLOUD_USERNAME }}
password: ${{ secrets.UPCLOUD_PASSWORD }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Purge resources
timeout-minutes: 5
run: upctl all purge --include example-upctl-*
- name: List remaining resources
run: upctl all list --include example-upctl-*
if: ${{ failure() }}