This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
Merge pull request #40 from shubham-cmyk/improve-factory #186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Lint code" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1 | |
with: | |
go-version: 1.18 | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | |
- name: "Lint the code" | |
run: make lint | |
- name: "Verify generate" | |
run: ./hack/verify-generate.sh | |
- name: "Verify go clean" | |
run: ./hack/verify-go-clean.sh |