commit 5bb8bf128cbc9765fdd2a840b0d33bf5849013d3
parent 260c781dc821b9fc970ef008f5685ddcedb9febc
Author: mtmn <miro@haravara.org>
Date: Sat, 2 May 2026 01:18:43 +0200
chore(ci): run yamlfmt on workflows
Diffstat:
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
@@ -2,11 +2,9 @@ on:
push:
branches:
- master
-
permissions:
contents: write
pull-requests: write
-
jobs:
release-please:
runs-on: ubuntu-latest
@@ -18,14 +16,12 @@ jobs:
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
-
test:
needs: [release-please, update-nix-hash]
if: ${{ needs.release-please.outputs.prs_created == 'true' }}
uses: ./.github/workflows/test.yml
with:
ref: ${{ needs.release-please.outputs.pr_branch }}
-
update-nix-hash:
runs-on: ubuntu-latest
needs: release-please
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
@@ -5,7 +5,6 @@ on:
ref:
type: string
required: false
-
jobs:
test:
runs-on: ubuntu-latest
@@ -13,21 +12,17 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: ${{ inputs.ref || github.ref }}
-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '24'
cache: npm
-
- name: Install dependencies
run: npm ci
-
- name: Cache spago packages
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ~/.cache/spago-nodejs
key: spago-${{ hashFiles('spago.lock') }}
restore-keys: spago-
-
- name: Run tests
run: npm run build && npm test