chore(deps): bump debian from 12.2-slim to 12.4-slim #122
Workflow file for this run
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 | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
azlint: | |
name: AZLint | |
runs-on: ubuntu-latest | |
container: | |
image: matejkosiarcik/azlint:0.6.6 | |
options: --user root | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.3 | |
with: | |
fetch-depth: 0 # Full git history is needed to get a proper list of changed files | |
- name: Run AZLint | |
run: | | |
git config --global --add safe.directory "$PWD" | |
if [ "$GITHUB_REF_NAME" = main ]; then | |
azlint | |
else | |
azlint --only-changed | |
fi |