https://github.com/upfluence/action-golangci-lint
https://github.com/upfluence/action-golangci-lint
ci
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/upfluence/action-golangci-lint
- Owner: upfluence
- Created: 2020-07-01T08:27:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T09:08:25.000Z (over 1 year ago)
- Last Synced: 2025-03-16T20:02:29.849Z (about 1 year ago)
- Topics: ci
- Size: 52.7 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Action: Run linter onto Upfluence go project
## Release new version
After pull request was approved and merged into master
If code can work with old configuration, use same tag as before
If your code include breaking change change label and inform all Upfluence team about your changes.
## Add this acton to your go project
run command into your project directory
```bash
mkdir -p .github/workflows
```
Create file lint.yml
```yml
name: reviewdog
on: [pull_request]
jobs:
linter:
name: runner / golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: golangci
uses: upfluence/action-golangci-lint@master
with:
github_token: ${{ secrets.github_token }}
```