Skip to content

Feature: enable auto fixable linters #17

Feature: enable auto fixable linters

Feature: enable auto fixable linters #17

Workflow file for this run

# Copyright 2023 Daniël Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.
name: Lint voltaserve/ui
on:
pull_request:
branches:
- main
paths:
- "ui/**"
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Add dummy embedded files
run: |
mkdir ui/dist
touch ui/dist/index.html
- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: ui
permissions:
contents: read
pull-requests: read
checks: write