Skip to content

Commit ca56d1f

Browse files
authored
Merge branch 'main' into ctrl+c-bk-docker
2 parents 7ad3065 + fc7f112 commit ca56d1f

19 files changed

Lines changed: 54 additions & 55 deletions

File tree

.github/workflows/ci.actions.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
platform:
1515
- os: ubuntu-latest
1616
name: linux
17+
arch: x86-64
1718
- os: macos-latest
1819
name: darwin
20+
arch: aarch64
1921
steps:
2022
- uses: actions/checkout@v4
2123
with:
@@ -32,7 +34,7 @@ jobs:
3234
- run: test ${{ steps.build.outputs.project }} = stark.com/foo
3335
- run: test ${{ steps.build.outputs.version }} = 2.3.4
3436
- run: test ${{ steps.build.outputs.platform }} = ${{ matrix.platform.name }}
35-
- run: test ${{ steps.build.outputs.arch }} = x86-64
37+
- run: test ${{ steps.build.outputs.arch }} = ${{ matrix.platform.arch }}
3638
- run: test -d ${{ steps.build.outputs.prefix }}
3739
- run: test $BREWKIT_PKGSPEC = ${{ steps.build.outputs.pkgspec }}
3840
- run: test $BREWKIT_PREFIX = ${{ steps.build.outputs.prefix }}
@@ -44,7 +46,7 @@ jobs:
4446
strategy:
4547
matrix:
4648
platform-key:
47-
- darwin+x86-64
49+
- darwin+aarch64
4850
- null
4951
runs-on: ubuntu-latest
5052
env:
@@ -91,7 +93,7 @@ jobs:
9193
matrix:
9294
compression: [xz, gz]
9395
platform:
94-
- darwin+x86-64
96+
- darwin+aarch64
9597
- linux+x86-64
9698
env:
9799
PKGX_PANTRY_PATH: ${{github.workspace}}/co

.github/workflows/ci.cli.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
- uses: actions/checkout@v4
3636
- uses: pkgxdev/setup@v2
3737

38-
- name: precache # makes it easier to read the real output
39-
run: pkgx deno cache test/test.ts build/build.ts
40-
4138
- run: bin/bk build ${{matrix.pkg}}
4239
- run: bin/bk test ${{matrix.pkg}}
4340
- run: bin/bk audit ${{matrix.pkg}}

audit/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
run: |
2727
echo "::group::fetch deno deps"
2828
cd $GITHUB_ACTION_PATH
29-
pkgx deno cache ./audit.ts
29+
pkgx deno^1 cache ./audit.ts
3030
echo "::endgroup::"
3131
3232
- run: ${GITHUB_ACTION_PATH}/audit.ts '${{ inputs.pkg }}'

audit/audit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!//usr/bin/env -S pkgx +git +gh deno run --allow-env --allow-read --allow-run --allow-net --ext=ts
1+
#!//usr/bin/env -S pkgx +git +gh deno^1 run --allow-env --allow-read --allow-run --allow-net --ext=ts
22

33
import { Command } from "cliffy/command/mod.ts"
44
import { swallow } from "brewkit/utils.ts"

bin/bk-edit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S pkgx +deno +git bash
1+
#!/usr/bin/env -S pkgx +deno^1 +git bash
22

33
set -eo pipefail
44

build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ runs:
4949
run: |
5050
echo "::group::fetch deno deps"
5151
cd $GITHUB_ACTION_PATH
52-
pkgx deno cache ./build.ts
52+
pkgx deno^1 cache ./build.ts
5353
echo "::endgroup::"
5454
5555
- name: build

build/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S pkgx +rsync +git +bash +gum +gh +curl +bzip2 +xz +unzip +lzip +column deno run --ext=ts --allow-env --allow-read --allow-write --allow-run --allow-net
1+
#!/usr/bin/env -S pkgx +rsync +git +bash +gum +gh +curl +bzip2 +xz +unzip +lzip +column deno^1 run --ext=ts --allow-env --allow-read --allow-write --allow-run --allow-net
22

33
import make_build_script from "brewkit/porcelain/build-script.ts"
44
import { gum, rsync } from "brewkit/utils.ts"

download-build-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ runs:
5252
shell: bash
5353
run: |
5454
echo "::group::fetch deno deps"
55-
pkgx deno cache ${GITHUB_ACTION_PATH}/../lib/actions/*.ts --config=${GITHUB_ACTION_PATH}/../deno.jsonc
55+
pkgx deno^1 cache ${GITHUB_ACTION_PATH}/../lib/actions/*.ts --config=${GITHUB_ACTION_PATH}/../deno.jsonc
5656
echo "::endgroup::"
5757
5858
- name: prep

id/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
run: |
4141
echo "::group::fetch deno deps"
4242
cd ${GITHUB_ACTION_PATH}
43-
pkgx deno cache ./id.ts
43+
pkgx deno^1 cache ./id.ts
4444
echo "::endgroup::"
4545
shell: bash
4646

id/id.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S pkgx +git +gh deno run --allow-env --allow-net --allow-write --allow-run=gh,pkgx --allow-read
1+
#!/usr/bin/env -S pkgx +git +gh deno^1 run --allow-env --allow-net --allow-write --allow-run=gh,pkgx --allow-read
22

33
import resolve_pkg from "brewkit/resolve-pkg.ts"
44

0 commit comments

Comments
 (0)