From the course: Rust LLMOps

Unlock this course with a free trial

Join today to access over 23,100 courses taught by industry experts.

Demo: GitHub Actions

Demo: GitHub Actions - Rust Tutorial

From the course: Rust LLMOps

Demo: GitHub Actions

- [Instructor] Let's take a look at a project that has GitHub actions enabled. Any project that has actions will have one or more yml files inside of a .GitHub workflows directory. Inside you can see that I have a job that runs on Ubuntu latest. It could run on any container that I choose that's supported by GitHub actions, or my own custom container, or even my own custom dev code space, and inside here, I put each of the names of the steps. So I say dash name, and this would do make install. Dash lint, this would do make lint. Dash test, this would do make test. And this would do a format, and this would do the make format step. And now, let's go ahead and look inside of that make file that's corresponding to it, and you can see here, there are each steps in my build process. What's great about this approach of having a make file that's directly linked into your GitHub actions file is that you don't have to think about what command to run, you just do the same command locally. So if…

Contents