Fix libwebkit2gtk no such file #3297
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
cache: true | |
- name: run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.54 | |
args: --timeout=3m | |
- name: install gofumpt | |
run: go install mvdan.cc/gofumpt@latest | |
- name: run gofumpt | |
run: | | |
ERRORS=$(gofumpt -l . | wc -l) | |
if [[ "$ERRORS" != "0" ]]; then | |
echo "following files are not gofumpted:" | |
gofumpt -l . | |
exit 1 | |
fi | |
lint-web-frontend: | |
defaults: | |
run: | |
working-directory: ./web-frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
cache-dependency-path: ./web-frontend/package-lock.json | |
- name: Install dependencies | |
run: npm ci | |
- name: Run code formating and linting | |
run: npm run fmt:check | |
lint-wails-frontend: | |
defaults: | |
run: | |
working-directory: ./wails-frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
cache-dependency-path: ./wails-frontend/package-lock.json | |
- name: Install dependencies | |
run: npm ci | |
- name: Run code formating and linting | |
run: npm run fmt:check |