This repository was archived by the owner on Mar 30, 2026. It is now read-only.
Add lint-timezone check to enforce time.Local = time.UTC #220
This file contains hidden or 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: "Pull Request" | |
| on: pull_request | |
| jobs: | |
| test: | |
| name: "Lint and test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.22 | |
| - name: Lint | |
| run: make lint | |
| - name: Test | |
| run: make test |