Skip to content

create CI/CD

create CI/CD #7

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
cache: false
- name: golangci-lint
working-directory: ./backend
uses: golangci/golangci-lint-action@v2

Check failure on line 27 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: 27, Col: 9): Unexpected value 'uses' .github/workflows/golangci-lint.yml (Line: 28, Col: 9): Unexpected value 'with'
with:
version: v1.54