Skip to content

try

try #36

Workflow file for this run

name: GolangCI-Lint
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
golangci-lint:
name: GolangCI-Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Fake build assets
run: |
cd toolgui-web
mkdir -p app/build/static
echo "fake" > app/build/index.html
- name: golangci-lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61
golangci-lint run