Update snapcore/action-build to node24 SHA, drop unused matrix (#2119)

* Update snapcore/action-build to node24 SHA, drop unused matrix

snapcore/action-build@v1 targets Node.js 20, which is deprecated on
GitHub Actions runners (forced to run on Node.js 24 with a warning).
Upstream has an open PR to update (https://github.com/snapcore/action-build/pull/1)
but it has been stale for a while, so we pin directly to its HEAD SHA
(edf78ca) until upstream merges and cuts a new tag.

Also removes the `strategy.matrix.node-version: [20.x]` block, which
was dead config — there was no `actions/setup-node` step consuming it.

Fixes the warning seen in:
https://github.com/johnkerl/miller/actions/runs/28449033140

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

* comment

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
John Kerl 2026-06-30 13:24:15 -04:00 committed by GitHub
parent cf85fff555
commit e98185f59c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,14 +9,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v7.0.0
- uses: snapcore/action-build@v1
# Context for pin: https://github.com/johnkerl/miller/pull/2119
- uses: snapcore/action-build@edf78ca622b1eb99b69f09420bb19f77e4f84ac1
id: build
- uses: diddlesnaps/snapcraft-review-action@v1