Merge pull request #465 from thedadams/ui-0.8.1 #994
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: | |
- main | |
paths-ignore: | |
- docs/** | |
- tools/** | |
- README.md | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- docs/** | |
- tools/** | |
- README.md | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-go@v5 | |
with: | |
cache: false | |
go-version: "1.22" | |
- name: Build UI | |
if: matrix.os == 'ubuntu-22.04' | |
run: make build-ui | |
shell: bash | |
- name: Validate | |
if: matrix.os == 'ubuntu-22.04' | |
run: make validate | |
- name: Build | |
run: make build | |
- name: Run Tests | |
run: make test |