Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/giyomoon/workflows

📋 A collection of reusable Github workflows which I use across my projects
https://github.com/giyomoon/workflows

Last synced: 2 days ago
JSON representation

📋 A collection of reusable Github workflows which I use across my projects

Awesome Lists containing this project

README

        



Workflows




A collection of reusable Github workflows which I use across my projects


### 🦀 `rust-checks`
Executes rust lints, checks and tests. Caches crates and builds.
- `cargo check`
- `cargo fmt`
- `cargo clippy`
- `cargo test`

**Inputs**
- `rust-version` (Optional): Rust toolchain version to use. Default is `beta`
- `workdir` (Optional): Directory of the Rust project to check. Default is root of the repository. Useful for monorepos
---

### 🦀 `rust-audit`
Executes rust audit. Caches crates and builds. Should be used in combination with the schedule event to ensure frequent audits.

**Inputs**
- `rust-version` (Optional): Rust toolchain version to use. Default is `beta`
- `workdir` (Optional): Directory of the Rust project to check. Default is root of the repository. Useful for monorepos
---

### 💻 `js-lint`
Execute the `lint` script from your `package.json`. Uses pnpm and caches the store.

**Inputs**
- `node-version` (Optional): Nodejs version to use. Default is `lts/*`
- `pnpm-version` (Optional): pnpm version to use. Default is `latest`
- `workdir` (Optional): Directory of the javascript code to lint. Default is the root of the repository. Useful for monorepos
---

### 🐳 `docker-build`
Builds and publishes a Docker image to the Github Registry.

**Inputs**
- `images`: Image name. Example: `ghcr.io/giyomoon/workflows`
- `platforms` (Optional): Platforms to build the image for. Default: `linux/amd64`
- `workdir` (Optional): Directory of the Dockerfile to build. Default is the root of the repository. Useful for monorepos
---