Merge branch 'master' into error-handling #161
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: Push | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
build: | |
uses: ./.github/workflows/build-base.yml | |
secrets: | |
SIGNPATH_API_TOKEN: ${{ secrets.SIGNPATH_API_TOKEN }} | |
lint-backend: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
with: | |
frontend: false | |
skip-wails: true | |
- name: Create frontend/build embed directory | |
run: | | |
mkdir -p frontend/build | |
echo "" > frontend/build/.gitkeep | |
- uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.61 | |
only-new-issues: true | |
skip-pkg-cache: true | |
skip-build-cache: true | |
lint-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- name: Generate wails bindings | |
run: | | |
# Apparently only wails build generates the embedded directory | |
mkdir -p frontend/build | |
touch frontend/build/.gitkeep | |
wails generate module -tags webkit2_41 | |
- name: Install dependencies | |
working-directory: frontend | |
run: pnpm install | |
- name: Lint | |
working-directory: frontend | |
run: | | |
pnpm lint | |
pnpm check |