Skip to content

fix bug various bug and release 0.4.5 with new node version MAIN 4.2 and DEVN 29.2 #120

fix bug various bug and release 0.4.5 with new node version MAIN 4.2 and DEVN 29.2

fix bug various bug and release 0.4.5 with new node version MAIN 4.2 and DEVN 29.2 #120

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.64.2
args: --timeout=30s
- name: install gofumpt
run: go install mvdan.cc/gofumpt@v0.8.0
- 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
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: ./web/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run code formating and linting
run: npm run fmt:check