feat: Add GitHub Actions workflow and action for Vespa CLI - MERGEOK #9
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: Test | |
on: | |
push: | |
branches: | |
- 1.x | |
pull_request: | |
branches: | |
- 1.x | |
jobs: | |
test: | |
strategy: | |
fail-fast: true | |
matrix: | |
vespa-cli-version: [latest, 8.371.16] | |
runner: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Vespa CLI | |
uses: ./ | |
with: | |
version: ${{ matrix.vespa-cli-version }} | |
- name: Verify Vespa CLI | |
run: vespa version | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint YAML files | |
run: yamllint --format github . |