@tahminator/pipeline 1.0.98 → 1.0.99-beta.g182b90e0

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.
Files changed (2) hide show
  1. package/README.md +11 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,7 +30,7 @@ bun run src/index.ts
30
30
  > [!WARNING]
31
31
  > This repository is iterating quickly & as such may have rough edges. I will always be happy to respond to & fix any issues anyone may have :)
32
32
 
33
- The setup action's `INSTALL_BREW`, `INSTALL_PROTOC`, and
33
+ The setup action's `INSTALL_BREW`, `INSTALL_PROTOC`, `INSTALL_MIGRATE`, and
34
34
  `INSTALL_PROTO_DEPENDENCIES` options use Homebrew preinstalled at
35
35
  `/home/linuxbrew/.linuxbrew` on GitHub-hosted Ubuntu runners. Setup adds it to
36
36
  the job's `PATH` and disables automatic updates, using the runner image's
@@ -499,9 +499,10 @@ View the [action file](./actions/setup/action.yaml) for all available inputs.
499
499
  INSTALL_SOPS: "true"
500
500
  SOPS_VERSION: "3.9.4"
501
501
  INSTALL_PROTO_DEPENDENCIES: "true"
502
- CARGO_PACKAGES: |
502
+ CARGO_PACKAGES: | # one `cargo install` per line; flags after the crate apply to that line only
503
503
  cargo-tarpaulin@0.32.8
504
504
  cargo-nextest@0.9.100
505
+ sqlx-cli@0.9.0 --no-default-features --features postgres,rustls
505
506
  ```
506
507
 
507
508
  Language toolchains are installed and cached by the setup action, so jobs don't need separate `setup-go` / `setup-java` / `rust-toolchain` steps:
@@ -522,6 +523,14 @@ For an explicit cache key, set both `JAVA_CACHE_KEY` and `JAVA_CACHE_PATH`. This
522
523
 
523
524
  With `INSTALL_PNPM: "true"`, set `PNPM_CACHE: "true"` to cache the pnpm store. `PNPM_CACHE_DEPENDENCY_PATH` accepts newline-separated lockfiles (default `pnpm-lock.yaml`), and `PNPM_PACKAGE_JSON_FILE` selects the package manifest (default `package.json`). Project dependencies must still be installed separately.
524
525
 
526
+ `INSTALL_MIGRATE: "true"` installs the [golang-migrate](https://github.com/golang-migrate/migrate) CLI with `brew install golang-migrate` and turns on the Homebrew setup. The version is whatever the runner's Homebrew formula provides. The formula ships golang-migrate's default drivers: every source driver and most databases (postgres, pgx/pgx5, mysql, sqlserver, mongodb, cassandra, clickhouse, cockroachdb, yugabytedb, redshift, spanner, firebird, neo4j, rqlite), but not `sqlite`, `sqlite3`, `sqlcipher`, `snowflake`, or `ql`.
527
+
528
+ ```yaml
529
+ - uses: tahminator/pipeline/actions/setup@<version>
530
+ with:
531
+ INSTALL_MIGRATE: "true"
532
+ ```
533
+
525
534
  ### `NPMClient`
526
535
 
527
536
  Interface with NPM registry in order to publish packages to `npmjs.com`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tahminator/pipeline",
3
- "version": "1.0.98",
3
+ "version": "1.0.99-beta.g182b90e0",
4
4
  "description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
5
5
  "author": "Tahmid Ahmed",
6
6
  "repository": {