rust-github-action-template
typescript-action
rust-github-action-template | typescript-action | |
---|---|---|
2 | 29 | |
8 | 1,794 | |
- | 3.0% | |
5.2 | 9.2 | |
about 1 month ago | 3 days ago | |
Liquid | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-github-action-template
-
Rust is not hard! Part 1: GitHub Actions
This section highlights the worst part of Rust today—it is still a very young programming language, so it's missing a lot of resources available to other languages. After this project, I made a template and a corresponding blog post so that future developers (probably me) will have a much easier time implementing Rust actions. However, this template wasn't available to me yet, so it doesn't count for this experiment.
-
How to write a GitHub Action in Rust
My little cargo-generate template will hopefully make it easier than ever to write Rust-based GitHub actions. If you try it out and have any suggestions or questions, please open an issue on the repository. If you want to hear more about the motivation for this template—why I'm writing actions in Rust instead of TypeScript, follow me for that upcoming post!
typescript-action
-
Hashnode Blog GitHub Action - fetch and display the latest blogs in a nice format
While learning about GitHub Actions, I came across the GitHub Actions Org, and they have a bunch of templates for building custom GitHub actions. So, I started searching for a template that has TypeScript support, ensuring type safety to write bug-free code. I found the typescript-action template that includes support for tests, linter, versioning, and more.
-
Dynamically importing a downloaded file in a TypeScript GitHub action.
This is the template I used for my TypeScript action https://github.com/actions/typescript-action
-
Develop, test, and deploy your extensions for all popular CIs from a single codebase
I found the GitHub actions documentation easier to read than Azure, so I would recommend starting writing and testing your extensions on GitHub by using the official template actions/typescript-action. The mentioned template provides a good starting point; I won't repeat the steps here. Play with it, write some simple stuff, and then return here for the next steps.
-
Speeding up GitHub Actions with npm cache
GitHub maintain a set of repos called actions. One of which is called cache.
-
AdaGPT: My Learnings While Building a GitHub Action
To get started quickly with a JavaScript action, I recommend using the official templates from GitHub for JavaScript and TypeScript.
-
Rust is not hard! Part 1: GitHub Actions
On the TypeScript side, setup was much easier. There was already a template from GitHub that took care of the basics. Most of the time spent here was updating dependencies and getting my editor to play nicely with it—18 minutes, about 10% of the total.
- CICD pipelines written in Typescript
- Unpopular opinion: CI/CD engines are an awful idea
-
Creating GitHub Actions for community engagement
Now that you know how to create your own GitHub Actions, why not give it a try? Head to the GitHub Marketplace and start exploring the existing Actions, or create your own and share it with the community. With GitHub Actions, the possibilities are endless, so start building and see what you can accomplish
-
How to Debug Tests in the CI Pipeline
Your build most likely fails because your tests fail. Most CI pipelines today, like Jenkins, Circleci, GitLab, TeamCity, Bamboo, and GitHub Actions, are configured to automatically cause the build process to fail when tests fail.
What are some alternatives?
openapitools-generator-action - Generate a client library using the OpenAPITools Generator
codeql-action - Actions for running CodeQL analysis
sample-rust-action
ncc - Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
graphql-check-action - This action checks your GraphQL server health after deployment.
get-changed-files - Get all of the files changed/modified in a pull request or push's commits.
dylananthony.com - The source code for Dylan Anthony's website, as well as a place to discuss blog posts! Blog topics generally include (but are not limited to) OpenAPI, Rust, and Python.
sticky-pull-request-comment - create comment on pull request, if exists update that comment.
cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
publish-unit-test-result-action - GitHub Action to publish unit test results on GitHub
vercel-action - This action make a deployment with github actions instead of Vercel builder.
wizard - [DEPRECATED] 🧙🏼♂️ Minimal Jest-like unit testing framework for Deno.