Skip to content

Commit

Permalink
remove CodeQL GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper committed Apr 18, 2024
1 parent d643af0 commit 6db1e46
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 59 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/generate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,19 @@ jobs:
generate-readme:
runs-on: ubuntu-latest
steps:

- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.0
with:
token: ${{ secrets.ACTIONS_TOKEN }}

- name: Setting up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: '18'
node-version: 'v20.12.2'

- name: Restore Node.js modules (or cache them)
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/prettify-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ jobs:
prettify-json:
runs-on: ubuntu-latest
steps:

- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.0
with:
token: ${{ secrets.ACTIONS_TOKEN }}

- name: Setting up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: '18'
node-version: 'v20.12.2'

- name: Run prettier
run: npx prettier --write people.json

- name: Commit the changes
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@v9.1.4
with:
add: 'people.json'
author_name: 'GitHub Actions'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/validate-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: Setting up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: '18'
node-version: 'v20.12.2'

- name: Installing markdownlint-cli2
run: npm i -g markdownlint-cli2

- name: Check the Markdown
run: markdownlint-cli2-config .markdownlint.json "scripts/README-TEMPLATE.md"
- name: Validate Markdown (${{ matrix.configs.which }})
uses: DavidAnson/markdownlint-cli2[email protected]
with:
config: ".markdownlint.json"
globs: "scripts/README-TEMPLATE.md"

0 comments on commit 6db1e46

Please sign in to comment.