Skip to content

Scenario test

Scenario test #78

Workflow file for this run

name: Server lint
on:
push:
branches: [ main ]
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of Sonar analysis
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# documentation: https://github.com/golangci/golangci-lint-action#readme
version: latest
working-directory: server
install-mode: "binary"