---
title: "Discussion on \"How to write a GitHub Action in Rust\" | Hashnode"
description: "Discussion on \"How to write a GitHub Action in Rust\". Oxidize your Actions"
url: "https://hashnode.com/posts/how-to-write-a-github-action-in-rust/63e1d287b399812aad97c02c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to write a GitHub Action in Rust](https://dbanty.hashnode.dev/how-to-write-a-github-action-in-rust?utm_source=hashnode&utm_medium=feed)

Oxidize your Actions

Feb 7, 2023 · 9 min read · dbanty.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#github](https://hashnode.com/tag/github)
-   [#github-actions](https://hashnode.com/tag/github-actions)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)

## Written by

[Dylan Anthony](https://hashnode.com/@dbanty)

@dbanty

  
[View profile](https://hashnode.com/@dbanty)

Making software higher quality

## Responses 5

Markdown supported · ⌘↵ to post

[klement Gunndu](https://hashnode.com/@klementgunnduai)

[Mar 13](https://hashnode.com/posts/how-to-write-a-github-action-in-rust/63e1d287b399812aad97c02c/comment/69b45f666b33d233463e102c)

Building GitHub Actions in Rust via cargo-generate is something I considered for a compute-heavy CI step where the TypeScript runtime overhead was measurable. The multi-stage Docker approach you showed keeps the final image lean, which matters when Actions pull the container on every run. The testing strategy for branches and PRs is a detail most action authors skip.

[Harsh](https://hashnode.com/@MapSkills)

[Feb 10, 2023](https://hashnode.com/posts/how-to-write-a-github-action-in-rust/63e1d287b399812aad97c02c/comment/63e5d6c3db59c3f72b9f39c1)

I have similar kinda article in my draft lol but this one is so long and precise good work buddy if you wanna take a look let me know

[Indrranil Pawar](https://hashnode.com/@Indrranil24)

[Feb 8, 2023](https://hashnode.com/posts/how-to-write-a-github-action-in-rust/63e1d287b399812aad97c02c/comment/63e333b84ef0c3d5fcd413de)

Helpfull thanks

[Scofield Idehen](https://hashnode.com/@Scofield)

[Feb 7, 2023](https://hashnode.com/posts/how-to-write-a-github-action-in-rust/63e1d287b399812aad97c02c/comment/63e2ae8fcecce1c954ae0604)

Insightful read!!
