Skip to content

Commit

Permalink
feat: Try to validate with hacs validation
Browse files Browse the repository at this point in the history
chore: bump github action versions to 4x
  • Loading branch information
pablo.garcia.almis committed Apr 14, 2024
1 parent 4ba3f4a commit 58e1402
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.0
- name: Use Node.js 208.x
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.2
with:
node-version: 20.x
- name: Cache Node.js modules
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-20.x-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -37,13 +37,13 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.0
with:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: 20.x
- name: Cache Node.js modules
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-20.x-${{ hashFiles('**/package-lock.json') }}
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "HACS Validate Action"

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
validate-hacs:
name: HACS validation
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.0"
- name: HACS validation
uses: "hacs/action@main"
with:
category: "plugin"

0 comments on commit 58e1402

Please sign in to comment.