Skip to content

ci: fix ci style checking failure #36

ci: fix ci style checking failure

ci: fix ci style checking failure #36

name: OpenAPP style check
on:
pull_request:
branches: [ "main", "release-*" ]
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: Install golangci-lint
run: |
set -x
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
- name: golangci-lint
run: |
set -x
pwd
ls -alh
golangci-lint run ./...