Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/SonarSource/sona…
Browse files Browse the repository at this point in the history
…rqube-scan-action-3.0.0
  • Loading branch information
JanuszNowak authored Nov 6, 2024
2 parents c96f2c1 + ee2427f commit ba5cdfa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-action-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v1.2.0
uses: gittools/actions/gitversion/setup@v3.0.0
with:
versionSpec: "5.x"
- name: Determine Version
uses: gittools/actions/gitversion/execute@v1.2.0
uses: gittools/actions/gitversion/execute@v3.0.0

build:
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ repos:
language: system
entry: pwsh -File ./az_bicep_build.ps1
pass_filenames: true
files: .*.bicep$
files: .*\.bicep$
- id: check-azure-bicep-format
name: check-azure-bicep-format
language: system
entry: pwsh -File ./az_bicep_format.ps1
pass_filenames: true
files: .*.bicep$
files: .*\.bicep$
14 changes: 10 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
- id: check-azure-bicep
name: az bicep build
language: script
require_serial: true
entry: az_bicep_build.ps1
files: .*.bicep$
files: .*\.bicep$

- id: check-azure-bicep-python
name: az bicep build (python)
language: python
pass_filenames: false
require_serial: true
entry: entry_az_bicep_build
files: .*.bicep$
files: .*\.bicep$
additional_dependencies: ['azure-cli']

- id: check-azure-bicep-format
name: az bicep format
language: script
require_serial: true
entry: az_bicep_format.ps1
files: .*.bicep$
files: .*\.bicep$

- id: check-azure-bicep-format-python
name: az bicep format (python)
language: python
pass_filenames: false
require_serial: true
entry: entry_az_bicep_format
files: .*.bicep$
files: .*\.bicep$
additional_dependencies: ['azure-cli']

0 comments on commit ba5cdfa

Please sign in to comment.