Skip to content

Commit

Permalink
adding go in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtimanmishrazipstack committed Jul 18, 2024
1 parent 48bcb51 commit 182da4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pdm-lock-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
with:
python-version: '3.9'

- name: Set up Go
if: steps.set_output.outputs.changed == 'true'
uses: actions/setup-go@v4
with:
go-version: '1.22.5'

- name: Install PDM
if: steps.set_output.outputs.changed == 'true'
run: python -m pip install pdm
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ repos:
entry: pyupgrade --py39-plus --keep-runtime-typing
types:
- python
# - repo: https://github.com/gitleaks/gitleaks
# rev: v8.18.4
# hooks:
# - id: gitleaks
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
hooks:
- id: gitleaks
# - repo: https://github.com/hadolint/hadolint
# rev: v2.12.1-beta
# hooks:
Expand Down

0 comments on commit 182da4f

Please sign in to comment.