build: Upgrade to go-1.21 and Alpine 3.18 #206
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: Snap Testing | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# allow manual trigger | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build and upload snap | |
id: build | |
uses: canonical/edgex-snap-testing/build@v2 | |
outputs: | |
snap: ${{steps.build.outputs.snap}} | |
test: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download and test snap | |
uses: canonical/edgex-snap-testing/test@v2 | |
with: | |
name: ui | |
snap: ${{needs.build.outputs.snap}} | |