Skip to content

Commit e06fb94

Browse files
author
Vedant Madane
committed
docs: add multi-platform build example to README
Signed-off-by: Vedant Madane <vedant.madane@gmail.com>
1 parent 76c0984 commit e06fb94

File tree

11 files changed

+61
-132
lines changed

11 files changed

+61
-132
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,13 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "daily"
7-
cooldown:
8-
default-days: 2
9-
groups:
10-
crazy-max-dot-github:
11-
patterns:
12-
- "crazy-max/.github/*"
137
labels:
148
- "dependencies"
159
- "bot"
1610
- package-ecosystem: "npm"
1711
directory: "/"
1812
schedule:
1913
interval: "daily"
20-
cooldown:
21-
default-days: 2
2214
versioning-strategy: "increase"
2315
allow:
2416
- dependency-type: "production"

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: ci
22

3-
permissions:
4-
contents: read
5-
63
concurrency:
74
group: ${{ github.workflow }}-${{ github.ref }}
85
cancel-in-progress: true
@@ -25,7 +22,7 @@ jobs:
2522
steps:
2623
-
2724
name: Checkout
28-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
uses: actions/checkout@v6
2926
-
3027
name: Set up QEMU
3128
id: qemu
@@ -48,7 +45,7 @@ jobs:
4845
steps:
4946
-
5047
name: Checkout
51-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+
uses: actions/checkout@v6
5249
-
5350
name: Set up QEMU
5451
id: qemu
@@ -65,7 +62,7 @@ jobs:
6562
steps:
6663
-
6764
name: Checkout
68-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
65+
uses: actions/checkout@v6
6966
-
7067
name: Stop docker
7168
run: |
@@ -95,7 +92,7 @@ jobs:
9592
steps:
9693
-
9794
name: Checkout
98-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
95+
uses: actions/checkout@v6
9996
-
10097
name: Set up QEMU
10198
id: qemu
@@ -119,7 +116,7 @@ jobs:
119116
steps:
120117
-
121118
name: Checkout
122-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
119+
uses: actions/checkout@v6
123120
-
124121
name: Set up QEMU
125122
uses: ./

.github/workflows/codeql.yml

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

.github/workflows/pr-assign-author.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ permissions:
44
contents: read
55

66
on:
7-
pull_request_target: # zizmor: ignore[dangerous-triggers] safe to use without checkout
7+
pull_request_target:
88
types:
99
- opened
1010
- reopened
1111

1212
jobs:
1313
run:
14-
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@d89fe92d808a15e2b2ed5cdb62db7c172c31410d # v1.6.0
14+
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf
1515
permissions:
1616
contents: read
1717
pull-requests: write

.github/workflows/publish.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: publish
22

3-
permissions:
4-
contents: read
5-
6-
concurrency:
7-
group: ${{ github.workflow }}-${{ github.ref }}
8-
cancel-in-progress: true
9-
103
on:
114
release:
125
types:
@@ -22,7 +15,7 @@ jobs:
2215
steps:
2316
-
2417
name: Checkout
25-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
uses: actions/checkout@v6
2619
-
2720
name: Publish
28-
uses: actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 # v0.0.4
21+
uses: actions/publish-immutable-action@v0.0.4

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: test
22

3-
permissions:
4-
contents: read
5-
63
concurrency:
74
group: ${{ github.workflow }}-${{ github.ref }}
85
cancel-in-progress: true
@@ -20,16 +17,16 @@ jobs:
2017
steps:
2118
-
2219
name: Checkout
23-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
uses: actions/checkout@v6
2421
-
2522
name: Test
26-
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
23+
uses: docker/bake-action@v6
2724
with:
2825
source: .
2926
targets: test
3027
-
3128
name: Upload coverage
32-
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
29+
uses: codecov/codecov-action@v5
3330
with:
3431
files: ./coverage/clover.xml
3532
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/update-dist.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: update-dist
22

3-
permissions:
4-
contents: read
5-
6-
concurrency:
7-
group: ${{ github.workflow }}-${{ github.ref }}
8-
cancel-in-progress: true
9-
103
on:
114
pull_request:
125
types:
@@ -15,27 +8,27 @@ on:
158

169
jobs:
1710
update-dist:
18-
if: github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name
11+
if: github.actor == 'dependabot[bot]'
1912
runs-on: ubuntu-latest
2013
steps:
2114
-
2215
name: GitHub auth token from GitHub App
2316
id: docker-read-app
24-
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
17+
uses: actions/create-github-app-token@v2
2518
with:
2619
app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
2720
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
2821
owner: docker
2922
-
3023
name: Checkout
31-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
uses: actions/checkout@v6
3225
with:
3326
ref: ${{ github.event.pull_request.head.ref }}
3427
fetch-depth: 0
35-
token: ${{ steps.docker-read-app.outputs.token }}
28+
token: ${{ steps.docker-read-app.outputs.token || github.token }}
3629
-
3730
name: Build
38-
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
31+
uses: docker/bake-action@v6
3932
with:
4033
source: .
4134
targets: build

.github/workflows/validate.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: validate
22

3-
permissions:
4-
contents: read
5-
63
concurrency:
74
group: ${{ github.workflow }}-${{ github.ref }}
85
cancel-in-progress: true
@@ -18,15 +15,15 @@ jobs:
1815
prepare:
1916
runs-on: ubuntu-latest
2017
outputs:
21-
matrix: ${{ steps.generate.outputs.matrix }}
18+
targets: ${{ steps.generate.outputs.targets }}
2219
steps:
2320
-
2421
name: Checkout
25-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+
uses: actions/checkout@v6
2623
-
27-
name: Generate matrix
24+
name: List targets
2825
id: generate
29-
uses: docker/bake-action/subaction/matrix@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
26+
uses: docker/bake-action/subaction/list-targets@v6
3027
with:
3128
target: validate
3229

@@ -37,10 +34,10 @@ jobs:
3734
strategy:
3835
fail-fast: false
3936
matrix:
40-
include: ${{ fromJson(needs.prepare.outputs.matrix) }}
37+
target: ${{ fromJson(needs.prepare.outputs.targets) }}
4138
steps:
4239
-
4340
name: Validate
44-
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
41+
uses: docker/bake-action@v6
4542
with:
4643
targets: ${{ matrix.target }}

.github/workflows/zizmor.yml

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

.github/zizmor.yml

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

0 commit comments

Comments
 (0)