-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 1.34 KB
/
pre-commit-auth.yaml
File metadata and controls
43 lines (36 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
on:
workflow_call:
inputs:
jfrog_url:
description: "URL of Artifactory server"
type: string
default: "https://nethermind.jfrog.io"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Configure JFrog CLI
id: jfrog
uses: jfrog/setup-jfrog-cli@1641575d87647fb969c0545f0b6a76873e328b7c # v5.0.0
env:
JFROG_URL: ${{ inputs.jfrog_url }}
with:
oidc-provider-name: github-nethermindeth
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Terraform
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4
- name: Install Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
- name: Install terraform-docs
uses: jaxxstorm/action-install-gh-release@25e24d2d23ae098373794ef1d6faecb48ee52da8 # v3.0.0
with:
repo: terraform-docs/terraform-docs
tag: v0.17.0
- name: Install tflint
uses: jaxxstorm/action-install-gh-release@25e24d2d23ae098373794ef1d6faecb48ee52da8 # v3.0.0
with:
repo: terraform-linters/tflint
tag: v0.55.1
- name: Run pre-commit hooks
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1