build(deps): bump github.com/go-chi/chi/v5 from 5.0.10 to 5.2.2 in /example #41
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: Check - Lint and Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.24' | |
| - name: Install Task | |
| run: | | |
| echo "Installing Task..." | |
| sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d | |
| - name: Install golangci-lint | |
| run: | | |
| echo "Installing golangci-lint..." | |
| curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v2.0.2 | |
| - name: Run Lint | |
| run: | | |
| echo "Running lint..." | |
| ./bin/task lint | |
| - name: Run Tests | |
| run: | | |
| echo "Running tests..." | |
| ./bin/task test |