feat: Add GitHub Actions workflow and action for Vespa CLI - MERGEOK #3
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: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- 1.x | |
pull_request: | |
branches: | |
- 1.x | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
vespa-cli-version: [latest, 8.371.16] | |
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 . |