Skip to content

prevent potential memory exhaustion from #38

prevent potential memory exhaustion from

prevent potential memory exhaustion from #38

---
name: golangci-lint
"on":
push:
paths-ignore:
- '**.md'
- '**.sh'
pull_request:
paths-ignore:
- '**.md'
- '**.sh'
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Show OS information
run: cat /etc/os-release
- name: Install Go
run: dnf -y install golang
- name: Show Go version
run: go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
container:
image: fedora:latest
env:
GOPATH: /root/go
PATH: /root/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin