Skip to content

Migrate the master branch to GHA #1

Migrate the master branch to GHA

Migrate the master branch to GHA #1

Workflow file for this run

name: golint2

Check failure on line 1 in .github/workflows/runlint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/runlint.yaml

Invalid workflow file

`push pull_request workflow_dispatch` is not a valid event name
on:
push
pull_request
workflow_dispatch
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Generate Golang
run: |
export PATH=$PATH:/home/runner/go/bin/
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v5.1.0
with:
# The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: latest