mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 03:23:59 +00:00
25.7.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ivuorinen/actions - My Reusable GitHub Actions and Workflows
Overview
This project contains a collection of workflows and composable actions to streamline CI/CD processes and ensure code quality. The actions are grouped by purpose for easier discovery.
Setup & Caching
- Node Setup: Sets up Node.js with caching and tooling.
- PHP Composer: Installs PHP dependencies using Composer.
- Dotnet Version Detect: Detects the required .NET version from
global.json. - Go Version Detect: Detects the required Go version from configuration files.
- Common Cache: Provides a consistent caching strategy for multiple languages.
- Set Git Config: Configures Git user information for automated commits.
Linting & Formatting
Code Linting
- Ansible Lint and Fix: Lints and fixes Ansible playbooks and roles.
- Biome Check: Runs Biome to lint multiple languages and formats.
- Biome Fix: Automatically fixes issues detected by Biome.
- C# Lint Check: Lints C# code using tools like
dotnet-format. - ESLint Check: Runs ESLint to check for code style violations.
- ESLint Fix: Automatically fixes code style issues with ESLint.
- Go Lint Check: Lints Go code using
golangci-lint. - PR Lint: Runs MegaLinter against pull requests.
- Python Lint and Fix: Lints and fixes Python code using
flake8andblack. - Terraform Lint and Fix: Lints and fixes Terraform configurations.
Code Formatting
- Prettier Check: Checks code formatting using Prettier.
- Prettier Fix: Automatically fixes code formatting with Prettier.
- Pre-Commit: Runs
pre-commithooks to enforce code quality standards.
Testing
- PHP Tests: Runs PHPUnit tests to ensure PHP code correctness.
- Laravel PHPUnit: Sets up Laravel and runs Composer tests.
Build & Package
- C# Build: Builds C# projects using the .NET SDK.
- Go Build: Builds Go projects using the
go buildcommand. - Docker Build: Builds Docker images using a Dockerfile.
Publish & Deployment
- C# Publish: Publishes .NET projects to an output directory.
- Docker Publish: Publishes Docker images to GitHub Packages and Docker Hub.
- Docker Publish to Docker Hub: Publishes Docker images to Docker Hub.
- Docker Publish to GitHub Packages: Publishes Docker images to GitHub's Container Registry.
- Publish to NPM: Publishes packages to the NPM registry.
Release Management
- GitHub Release: Automates GitHub release creation with custom tags and notes.
- Release Monthly: Creates a monthly GitHub release with autogenerated notes.
Repository Maintenance
- Common File Check: Checks for the presence of specific files based on a glob pattern.
- Compress Images: Optimizes and creates a pull request with compressed images.
- Stale: Closes stale issues and pull requests automatically.
- Sync Labels: Syncs repository labels from a YAML file.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Description
Languages
Python
72.9%
Shell
22.3%
Makefile
2.7%
JavaScript
1.1%
Dockerfile
1%