fix: UI styling #431
Workflow file for this run
This file contains hidden or 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: Linux CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Allows manual triggering of the workflow | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23' | |
# Only run in this linux based runner | |
- name: Check Formatting | |
run: | | |
if [ "$(gofmt -l . | grep -v 'event/.*_test.go' | wc -l)" -gt 0 ]; then | |
gofmt -l . | grep -v 'event/.*_test.go' | |
exit 1 | |
fi | |
# cache simple-responder to save the build time | |
- name: Restore Simple Responder | |
id: restore-simple-responder | |
uses: actions/cache/restore@v4 | |
with: | |
path: ./build | |
key: ${{ runner.os }}-simple-responder-${{ hashFiles('misc/simple-responder/simple-responder.go') }} | |
# necessary for testing proxy/Process swapping | |
- name: Create simple-responder | |
run: make simple-responder | |
- name: Save Simple Responder | |
# nothing new to save ... skip this step | |
if: steps.restore-simple-responder.outputs.cache-hit != 'true' | |
id: save-simple-responder | |
uses: actions/cache/save@v4 | |
with: | |
path: ./build | |
key: ${{ runner.os }}-simple-responder-${{ hashFiles('misc/simple-responder/simple-responder.go') }} | |
- name: Test all | |
run: make test-all |