Merge branch 'main' into production #461
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: Lint Server | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- server/** | |
- "!server/internal/views/emails/**" | |
pull_request: | |
paths: | |
- server/** | |
- "!server/internal/views/emails/**" | |
jobs: | |
lint-golang: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.23" | |
check-latest: true | |
cache: true | |
cache-dependency-path: server/go.sum | |
- name: Install Dependencies Backend | |
run: go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Run Go Format | |
run: make lint-test | |
working-directory: ./server | |
- name: Run Go Test | |
run: make test-ci | |
working-directory: ./server |