Skip to content

Fix security issue and add go linter #1

Fix security issue and add go linter

Fix security issue and add go linter #1

Workflow file for this run

name: golangci-lint
on: [push, pull_request]
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
working-directory: ./fileserver
working-directory: ./notification-server

Check failure on line 24 in .github/workflows/golangci-lint.yml

View workflow run for this annotation

GitHub Actions / golangci-lint

Invalid workflow file

The workflow is not valid. .github/workflows/golangci-lint.yml (Line: 24, Col: 11): 'working-directory' is already defined