You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vet-parallel ## Run go vet in parallel (faster for large repos)
267
-
vet ## Run go vet only on your module packages
268
-
```
269
-
<!-- make-help-end -->
270
-
271
214
</details>
272
215
273
216
<details>
@@ -277,17 +220,21 @@ vet ## Run go vet only on your module packages
277
220
278
221
### 🎛️ The Workflow Control Center
279
222
280
-
All GitHub Actions workflows in this repository are powered by a single configuration file: [**.env.shared**](.github/.env.shared) – your one-stop shop for tweaking CI/CD behavior without touching a single YAML file! 🎯
223
+
All GitHub Actions workflows in this repository are powered by configuration files: [**.env.base**](.github/.env.base) (default configuration) and optionally **.env.custom** (project-specific overrides) – your one-stop shop for tweaking CI/CD behavior without touching a single YAML file! 🎯
224
+
225
+
**Configuration Files:**
226
+
-**[.env.base](.github/.env.base)** – Default configuration that works for most Go projects
> **Pro tip:** Want to disable code coverage? Just flip`ENABLE_CODE_COVERAGE=false`in [.env.shared](.github/.env.shared) and push. No YAML archaeology required!
237
+
> **Pro tip:** Want to disable code coverage? Just add`ENABLE_CODE_COVERAGE=false`to your .env.custom to override the default in .env.base and push. No YAML archaeology required!
291
238
292
239
<br/>
293
240
@@ -301,8 +248,6 @@ This magical file controls everything from:
301
248
|[scorecard.yml](.github/workflows/scorecard.yml)| Runs [OpenSSF](https://openssf.org/) Scorecard to assess supply chain security. |
302
249
|[stale.yml](.github/workflows/stale-check.yml)| Warns about (and optionally closes) inactive issues and PRs on a schedule or manual trigger. |
303
250
|[sync-labels.yml](.github/workflows/sync-labels.yml)| Keeps GitHub labels in sync with the declarative manifest at [`.github/labels.yml`](./.github/labels.yml). |
304
-
|[update-python-dependencies.yml](.github/workflows/update-python-dependencies.yml)| Updates Python dependencies for pre-commit hooks in the repository. |
305
-
|[update-pre-commit-hooks.yml](.github/workflows/update-pre-commit-hooks.yml)| Automatically update versions for [pre-commit](https://pre-commit.com/) hooks |
306
251
307
252
</details>
308
253
@@ -313,28 +258,28 @@ This magical file controls everything from:
313
258
To update all dependencies (Go modules, linters, and related tools), run:
314
259
315
260
```bash
316
-
make update
261
+
magex deps:update
317
262
```
318
263
319
-
This command ensures all dependencies are brought up to date in a single step, including Go modules and any tools managed by the Makefile. It is the recommended way to keep your development environment and CI in sync with the latest versions.
264
+
This command ensures all dependencies are brought up to date in a single step, including Go modules and any managed tools. It is the recommended way to keep your development environment and CI in sync with the latest versions.
320
265
321
266
</details>
322
267
323
268
<br/>
324
269
325
270
## 🧪 Examples & Tests
326
271
327
-
All unit tests and [examples](examples)run via [GitHub Actions](https://github.com/mrz1836/go-template/actions) and use [Go version 1.24.x](https://go.dev/doc/go1.24). View the [configuration file](.github/workflows/fortress.yml).
272
+
All unit tests and fuzz tests run via [GitHub Actions](https://github.com/mrz1836/go-pre-commit/actions) and use [Go version 1.18.x](https://go.dev/doc/go1.18). View the [configuration file](.github/workflows/fortress.yml).
328
273
329
274
Run all tests (fast):
330
275
331
276
```bash script
332
-
maketest
277
+
magextest
333
278
```
334
279
335
280
Run all tests with race detector (slower):
336
281
```bash script
337
-
make test-race
282
+
magex test:race
338
283
```
339
284
340
285
<br/>
@@ -344,7 +289,7 @@ make test-race
344
289
Run the Go [benchmarks](sanitize_benchmark_test.go):
0 commit comments