Fix CLI Client Handling Non-Interactive Terminal and Error Message for Non-Canonical Repo #40
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: CLI-Client | |
on: | |
push: | |
paths: | |
- "tools/cli-client/**" | |
pull_request: | |
paths: | |
- "tools/cli-client/**" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go 1.22 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.22 | |
- name: Test | |
working-directory: tools/cli-client | |
run: | | |
go test ./... | |
build: | |
runs-on: ubuntu-latest | |
name: Snap build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: snapcore/action-build@v1 | |
id: snapcraft | |
with: | |
path: tools/cli-client | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: snap | |
path: ${{ steps.snapcraft.outputs.snap }} |