Fix license loading (#1521) #1136
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: "Backend verify" | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
paths: | |
- 'backend/**.go' | |
- 'backend/go.mod' | |
- '.github/workflows/backend-lint-test.yml' | |
pull_request: | |
paths: | |
- 'backend/**.go' | |
- 'backend/go.mod' | |
- '.github/workflows/backend-lint-test.yml' | |
permissions: | |
contents: read | |
jobs: | |
verify: | |
name: Lint & Test Backend | |
runs-on: ubuntu-latest-4 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60 | |
working-directory: backend | |
args: --timeout=10m --config=.golangci.yaml | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Unit & Integration Tests | |
run: task backend:test-integration |