chore: update Go version and integrate getpocket client for retrieval #92
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: build | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - | |
| name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '>=1.23.0' | |
| check-latest: true | |
| - | |
| name: Install dependencies | |
| run: | | |
| go version | |
| go install golang.org/x/lint/golint@latest | |
| - | |
| name: Run build | |
| run: go build . | |
| - | |
| name: Run vet & lint | |
| run: | | |
| go vet . | |
| golint . |