Merge pull request #82 from maxmind/dependabot/github_actions/jdx/mis… #280
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: Lint | |
| on: | |
| push: | |
| pull_request: | |
| permissions: {} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install mise | |
| uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 | |
| - name: Install Python | |
| run: uv python install --python-preference only-managed 3.13 | |
| - name: Install dependencies | |
| run: uv sync --group lint | |
| - name: Check formatting | |
| run: | | |
| precious tidy -a | |
| git diff --exit-code | |
| - name: Lint | |
| run: precious lint -a | |
| - name: Build | |
| run: ./build.sh | |
| - name: AppInspect | |
| run: precious lint --command appinspect geoip-1.1.1.tar.gz |