Skip to content

Commit ad077b4

Browse files
authored
fix: v1 setup on Linux musl (#432)
## Summary - Detect Linux musl runners in the v1 action and download the Supabase CLI `.apk` asset for CLI versions `>= 2.99.0`. - Add the extracted `usr/bin` directory to `PATH` for `.apk` archives. - Backport the optional `github-token` input for authenticated `latest` release lookup, because the test matrix hit unauthenticated GitHub API rate limits. - Rebuild `dist/index.js` for the Node action. ## Validation - `npm run format:check` - `npm run lint` - `npm test` - `npm run package` - Local Docker smoke test in `node:20-alpine` with `INPUT_VERSION=2.100.1` - setup-cli-testing workflow: https://github.com/jgoux/setup-cli-testing/actions/runs/26165593808 The external workflow passed Alpine `2.100.1`, Alpine `latest`, and Ubuntu/macOS/Windows with both `2.100.1` and `latest`.
1 parent cd9b0fd commit ad077b4

22 files changed

Lines changed: 46132 additions & 17984 deletions

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: CodeQL
22

33
on:
4-
pull_request:
54
push:
65
branches:
76
- main

.github/workflows/linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ jobs:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
LINTER_RULES_PATH: ${{ github.workspace }}
5050
VALIDATE_ALL_CODEBASE: true
51+
VALIDATE_BIOME_FORMAT: false
5152
VALIDATE_JAVASCRIPT_ES: false
5253
VALIDATE_JAVASCRIPT_STANDARD: false
5354
VALIDATE_JSCPD: false
5455
VALIDATE_TYPESCRIPT_ES: false
5556
VALIDATE_JSON: false
57+
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
5658
VALIDATE_TYPESCRIPT_STANDARD: false

.github/workflows/start.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- uses: ./
3939
with:
4040
version: ${{ matrix.version }}
41+
github-token: ${{ github.token }}
4142
- run: supabase init
4243
- run:
4344
sed -i -E "s|^(major_version) .*|\1 = ${{ matrix.pg_major }}|"

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- uses: ./
5757
with:
5858
version: ${{ matrix.version }}
59+
github-token: ${{ github.token }}
5960
- run: supabase -h
6061

6162
check:

.licenses/npm/@actions/core.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: "@actions/core"
3-
version: 1.11.1
3+
version: 3.0.1
44
type: npm
55
summary: Actions core lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/core

.licenses/npm/@actions/exec.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: "@actions/exec"
3-
version: 1.1.1
3+
version: 3.0.0
44
type: npm
55
summary: Actions exec lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/exec

.licenses/npm/@actions/http-client.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: "@actions/http-client"
3-
version: 2.2.3
3+
version: 4.0.1
44
type: npm
55
summary: Actions Http Client
66
homepage: https://github.com/actions/toolkit/tree/main/packages/http-client

.licenses/npm/@actions/io.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: "@actions/io"
3-
version: 1.1.3
3+
version: 3.0.2
44
type: npm
55
summary: Actions io lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/io

.licenses/npm/@actions/tool-cache.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: "@actions/tool-cache"
3-
version: 2.0.2
3+
version: 4.0.0
44
type: npm
55
summary: Actions tool-cache lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/tool-cache

.licenses/npm/@fastify/busboy.dep.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)