chore(deps): update ghcr.io/defenseunicorns/packages/uds/gitlab-runner docker tag to v17.2.1-uds.7-registry1 #474
This file contains 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: | |
# This workflow is triggered on pull requests to the main branch. | |
pull_request: | |
branches: [main] | |
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow). | |
types: [milestoned, opened, edited, synchronize] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # Allows reading the repo contents | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Install UDS CLI | |
uses: defenseunicorns/setup-uds@b987a32bac3baeb67bfb08f5e1544e2f9076ee8a # v1.0.0 | |
with: | |
version: v0.17.0 | |
- name: Install lint deps | |
run: | | |
uds run deps --no-progress | |
- name: Lint the repository (using Precommit) | |
run: | | |
uds run precommit --no-progress |