build(deps-dev): bump concurrently from 8.2.2 to 9.0.1 #20
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: Run tests | |
on: | |
pull_request: | |
branches: [ main, 'feature/**' ] | |
push: | |
branches: [ main, 'feature/**' ] | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
jobs: | |
test: | |
name: Run tests | |
strategy: | |
matrix: | |
go-version: [ '1.23' ] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache: false | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Compile templates and run tests | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- run: go install github.com/a-h/templ/cmd/templ@latest && templ generate | |
- run: go test -v ./... | |
- name: Build assets | |
if: startsWith(matrix.os, 'ubuntu') == true | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- if: startsWith(matrix.os, 'ubuntu') == true | |
run: npm install | |
- if: startsWith(matrix.os, 'ubuntu') == true | |
run: npm run build |