Skip to content

Feature/2 enable GitHub action for cicd #2

Feature/2 enable GitHub action for cicd

Feature/2 enable GitHub action for cicd #2

Workflow file for this run

name: Lint
on:
pull_request:
branches: [ master, development ]
jobs:
build:
name: Lint go code with golangci
runs-on: ubuntu-latest
container:
image: golangci/golangci-lint:latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build with make
run: golangci-lint run --timeout 5m -v
name: CI

Check failure on line 22 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 22, Col: 9): 'name' is already defined