Use an event and dispatch it instead of adding event handlers the oth… #3955
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: Server Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, 'codefreeze-*'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Checkout and setup Node | |
uses: ./.github/actions/checkout-and-setup | |
- name: Build UI | |
run: pnpm build:server | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: server/go.mod | |
cache-dependency-path: server/go.sum | |
cache: true | |
check-latest: true | |
- name: Set up Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: build | |
working-directory: server | |
run: make build | |
- name: test | |
working-directory: server | |
run: make test |