Skip to content

Fix/frotend/bus route #214

Fix/frotend/bus route

Fix/frotend/bus route #214

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main # Changed from 'master' to 'main'
- develop # Added 'develop' branch
pull_request:
branches:
- main # Specify branches for pull request as well
- develop
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21.5'
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
working-directory: backend # Set this to the directory where your Go code is located
# You can uncomment and adjust the following lines if needed:
# args: --timeout=30m --config=/backend/.golangci.yml --issues-exit-code=0
# only-new-issues: true
# skip-cache: true
# skip-pkg-cache: true
# skip-build-cache: true
# install-mode: "goinstall"