mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-03-03 04:12:18 +08:00
Security: remove very outdated action (#119)
This commit is contained in:
parent
d0f3e049ae
commit
f23a9ab176
17
.github/workflows/prettify-code.yml
vendored
17
.github/workflows/prettify-code.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: 'Run prettify'
|
||||
name: 'Run Prettify'
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
@ -10,9 +10,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Enforce Prettier
|
||||
uses: actionsx/prettier@3d9f7c3fa44c9cb819e68292a328d7f4384be206 #v3.0.0
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
with:
|
||||
args: --check .
|
||||
node-version: 'lts/*'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run Prettier Check
|
||||
run: npx prettier --check .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user