| 1 | name: tests |
| 2 | on: |
| 3 | pull_request: |
| 4 | push: |
| 5 | branches: |
| 6 | - '**' |
| 7 | |
| 8 | jobs: |
| 9 | test: |
| 10 | name: lint |
| 11 | runs-on: docker |
| 12 | container: |
| 13 | image: data.forgejo.org/oci/ci:2 |
| 14 | steps: |
| 15 | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| 16 | - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 |
| 17 | with: |
| 18 | go-version-file: 'go.mod' |
| 19 | - run: make install |
| 20 | - run: make lint |
| 21 | - run: make generator-check |