feat(cli): ensure pro providers are up to date before running devpod up #1172
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: Unit tests | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
branches: | |
- main | |
paths: | |
- "**.go" | |
- "hack/unit-tests.sh" | |
- ".github/workflows/unit-tests.yaml" | |
- "!/docs/**" | |
# make sure the pipeline is only running once | |
concurrency: | |
group: unit-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.8 | |
- name: Test | |
run: ./hack/unit-tests.sh |