Skip to content

Commit b22acd7

Browse files
committed
feat: create zigflow action
Signed-off-by: Simon Emms <simon@simonemms.com>
1 parent e57ebd8 commit b22acd7

14 files changed

Lines changed: 35224 additions & 497 deletions

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"image": "ghcr.io/mrsimonemms/devcontainers/full",
33
"name": "devcontainer",
4-
"features": {
5-
},
4+
"features": {},
65
"customizations": {
76
"vscode": {
87
"extensions": [

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,10 @@ jobs:
2525

2626
- uses: wagoid/commitlint-github-action@v6
2727

28-
pre-commit:
28+
test:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v6
32-
33-
- uses: actions/setup-python@v6
34-
with:
35-
python-version: 3.x
36-
37-
- name: Set up Go
38-
uses: actions/setup-go@v6
39-
with:
40-
go-version: ">=1.20.0"
41-
4232
- name: Set up JS
4333
uses: actions/setup-node@v6
4434
with:
@@ -48,19 +38,20 @@ jobs:
4838
- name: Install dependencies
4939
run: npm ci
5040

51-
- uses: pre-commit/action@v3.0.1
41+
- name: Run prettier
42+
run: npm run lint
5243

53-
test:
44+
verify:
5445
strategy:
5546
fail-fast: true
5647
matrix:
5748
os: [ubuntu-latest, macos-latest, windows-latest]
5849
runs-on: ${{ matrix.os }}
5950
steps:
6051
- name: Print build information
61-
run: 'echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}'
52+
run: "echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}"
6253

63-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@v6
6455

6556
- name: Run zigflow/setup-zigflow
6657
uses: ./

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
dist
21
tmp
32

43
node_modules

‎.licenserc.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ header:
55
copyright-year: 2025 - 2026
66
paths-ignore:
77
- "**/dist"
8+
- dist/**/*
89
- "**/tmp"
910
- LICENSE
1011
- "**/.*"
1112
- "**/go.*"
12-
- "**/*.{json,md,yml,yaml}"
13+
- "**/*.{json,md,yml,yaml,map}"
1314
- "**/.gitkeep"
1415
comment: on-failure
1516

‎.pre-commit-config.yaml‎

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

‎.prettierignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.yml
33
*.yaml
44
*.json
5+
dist/*

‎.prettierrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"importOrder": ["^[./]"],
77
"importOrderSeparation": true,
88
"importOrderSortSpecifiers": true,
9-
"importOrderParserPlugins": ["typescript", "decorators-legacy"]
9+
"importOrderParserPlugins": ["decorators-legacy"]
1010
}

‎action.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Setup Zigflow
2+
description: Setup Zigflow on GitHub Actions runners
3+
inputs:
4+
version:
5+
description: Version of Zigflow to install (eg. 'v0.12.0' or 'latest')
6+
required: false
7+
default: latest
8+
branding:
9+
icon: git-merge
10+
color: purple
11+
runs:
12+
using: node24
13+
main: ./dist/index.mjs

‎dist/LICENSE‎

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
@actions/core
2+
MIT
3+
The MIT License (MIT)
4+
5+
Copyright 2019 GitHub
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12+
13+
@actions/exec
14+
MIT
15+
The MIT License (MIT)
16+
17+
Copyright 2019 GitHub
18+
19+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
20+
21+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
22+
23+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24+
25+
@actions/http-client
26+
MIT
27+
Actions Http Client for Node.js
28+
29+
Copyright (c) GitHub, Inc.
30+
31+
All rights reserved.
32+
33+
MIT License
34+
35+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
36+
associated documentation files (the "Software"), to deal in the Software without restriction,
37+
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
38+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
39+
subject to the following conditions:
40+
41+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
42+
43+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
44+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
45+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
46+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
47+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48+
49+
50+
@actions/io
51+
MIT
52+
The MIT License (MIT)
53+
54+
Copyright 2019 GitHub
55+
56+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
57+
58+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
59+
60+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
61+
62+
@actions/tool-cache
63+
MIT
64+
The MIT License (MIT)
65+
66+
Copyright 2019 GitHub
67+
68+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
69+
70+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
71+
72+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73+
74+
semver
75+
ISC
76+
The ISC License
77+
78+
Copyright (c) Isaac Z. Schlueter and Contributors
79+
80+
Permission to use, copy, modify, and/or distribute this software for any
81+
purpose with or without fee is hereby granted, provided that the above
82+
copyright notice and this permission notice appear in all copies.
83+
84+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
85+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
86+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
87+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
88+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
89+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
90+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
91+
92+
93+
tunnel
94+
MIT
95+
The MIT License (MIT)
96+
97+
Copyright (c) 2012 Koichi Kobayashi
98+
99+
Permission is hereby granted, free of charge, to any person obtaining a copy
100+
of this software and associated documentation files (the "Software"), to deal
101+
in the Software without restriction, including without limitation the rights
102+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103+
copies of the Software, and to permit persons to whom the Software is
104+
furnished to do so, subject to the following conditions:
105+
106+
The above copyright notice and this permission notice shall be included in
107+
all copies or substantial portions of the Software.
108+
109+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
115+
THE SOFTWARE.
116+
117+
118+
undici
119+
MIT
120+
MIT License
121+
122+
Copyright (c) Matteo Collina and Undici contributors
123+
124+
Permission is hereby granted, free of charge, to any person obtaining a copy
125+
of this software and associated documentation files (the "Software"), to deal
126+
in the Software without restriction, including without limitation the rights
127+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
128+
copies of the Software, and to permit persons to whom the Software is
129+
furnished to do so, subject to the following conditions:
130+
131+
The above copyright notice and this permission notice shall be included in all
132+
copies or substantial portions of the Software.
133+
134+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
135+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
136+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
137+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
138+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
139+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
140+
SOFTWARE.

0 commit comments

Comments
 (0)