timvw-hello-rs

Crates.iotimvw-hello-rs
lib.rstimvw-hello-rs
version0.1.91
sourcesrc
created_at2022-05-26 17:48:47.738607
updated_at2022-06-01 12:56:43.530822
descriptionhello world application to demonstrate a github actions release pipeline
homepagehttps://github.com/timvw/timvw-hello-rs
repositoryhttps://github.com/timvw/timvw-hello-rs
max_upload_size
id594269
size25,954
Tim Van Wassenhove (timvw)

documentation

README

timvw-hello-rs

Repository to experiment with github actions and rust

  1. Create a draft release:
gh workflow run draft_release.yml -f version=0.1.86

This will result in:

  • the creation of a release/0.1.86
  • the creation of a draft github release, v0.1.86
  • addition of assets (compiled application binaries) to the draft release
  1. Publish the draft release:
gh release edit --draft=false v0.1.86

This will result in:

  • the publication of the release, v0.1.86
  • the publication on crates.io
  • the publication of a docker container
  • the publication of an updated hombrew formula
  • the deletion of the release/0.1.86 branch

Development

Test the workflow:

Local development is often faster by using https://github.com/nektos/act

act workflow_dispatch -e sample.event 
Commit count: 134

cargo fmt