gaztec 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/README.md +16 -3
- package/action.yml +19 -0
- package/package.json +1 -1
- package/release-please-config.json +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0](https://github.com/nemi-fi/gaztec/compare/v1.1.0...v1.2.0) (2026-03-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add action.yml ([#3](https://github.com/nemi-fi/gaztec/issues/3)) ([8abfd07](https://github.com/nemi-fi/gaztec/commit/8abfd07225162f93068ad668bde727e35aa9f0b4))
|
|
9
|
+
|
|
3
10
|
## [1.1.0](https://github.com/nemi-fi/gaztec/compare/v1.0.3...v1.1.0) (2026-03-04)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -43,7 +43,11 @@ npm i gaztec -D
|
|
|
43
43
|
|
|
44
44
|
## CI
|
|
45
45
|
|
|
46
|
-
Commit a `.aztecrc` file to your repo
|
|
46
|
+
Commit a `.aztecrc` file to your repo. Use the **gaztec GitHub Action** for cached installs in your CI(saves 1-2 minutes per run).
|
|
47
|
+
|
|
48
|
+
The action caches Aztec between runs to speed up workflows:
|
|
49
|
+
|
|
50
|
+
<!-- x-release-please-start-version -->
|
|
47
51
|
|
|
48
52
|
```yaml
|
|
49
53
|
name: Test
|
|
@@ -55,11 +59,18 @@ jobs:
|
|
|
55
59
|
runs-on: ubuntu-latest
|
|
56
60
|
steps:
|
|
57
61
|
- uses: actions/checkout@v4
|
|
58
|
-
-
|
|
59
|
-
|
|
62
|
+
- name: Setup Node.js
|
|
63
|
+
uses: actions/setup-node@v4
|
|
60
64
|
with:
|
|
61
65
|
node-version: 24
|
|
62
66
|
|
|
67
|
+
- name: Install dependencies
|
|
68
|
+
run: npm ci
|
|
69
|
+
|
|
70
|
+
# gaztec action requires node.js and installed dependencies to run
|
|
71
|
+
- name: Setup gaztec
|
|
72
|
+
uses: nemi-fi/gaztec@v1.2.0
|
|
73
|
+
|
|
63
74
|
- name: Compile Aztec contracts
|
|
64
75
|
run: npx gaztec compile
|
|
65
76
|
|
|
@@ -67,6 +78,8 @@ jobs:
|
|
|
67
78
|
run: npx gaztec start --local-network
|
|
68
79
|
```
|
|
69
80
|
|
|
81
|
+
<!-- x-release-please-end -->
|
|
82
|
+
|
|
70
83
|
## Compatibility with `aztec`
|
|
71
84
|
|
|
72
85
|
| gaztec version | aztec version |
|
package/action.yml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: "Setup gaztec"
|
|
2
|
+
description: "Restore cache for Aztec and run gaztec installer."
|
|
3
|
+
|
|
4
|
+
runs:
|
|
5
|
+
using: "composite"
|
|
6
|
+
steps:
|
|
7
|
+
- name: Cache Aztec
|
|
8
|
+
uses: actions/cache@v5
|
|
9
|
+
with:
|
|
10
|
+
path: |
|
|
11
|
+
~/.aztec
|
|
12
|
+
~/.foundry
|
|
13
|
+
key: gaztec-${{ runner.os }}
|
|
14
|
+
restore-keys: |
|
|
15
|
+
gaztec-${{ runner.os }}-
|
|
16
|
+
|
|
17
|
+
- name: Install gaztec
|
|
18
|
+
shell: bash
|
|
19
|
+
run: npx gaztec --version
|
package/package.json
CHANGED