Skip to content

gh: remove job name from single job workflows #2

gh: remove job name from single job workflows

gh: remove job name from single job workflows #2

Workflow file for this run

---
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
runs-on: ubuntu-latest

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

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set version env variables
run: |
cat .version >> $GITHUB_ENV
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: "${{env.GOLANGCI_LINT_VERSION}}"