GitHub Actions Workshop
This repository contains the code for the GitHub Actions Workshop. The workshop is designed to help you get started with GitHub Actions and learn how to use them to automate your software development workflow.
Prerequisites
Before you start the workshop, make sure you have the following:
- A laptop or desktop computer with either Windows, macOS, or Linux operating system. You will need internet access to complete the workshop.
- A GitHub account. If you don't have one, you can create one for free.
- A code editor. You can use any code editor of your choice. If you don't have one, you can use Visual Studio Code.
- A basic understanding of Git and GitHub. If you're new to Git and GitHub, you can follow the Getting Started with GitHub Guide.
Objectives
By the end of this workshop, you will learn how to:
- Understand the basics of GitHub Actions.
- Understand the YAML syntax used to define workflows.
- Understand workflow syntax and how to write workflows using intellisense.
- Set up a GitHub Actions workflow.
- Trigger a workflow using events.
- Learn the context and expression syntax as well as workflow commands.
- Understand different hosting options for runners.
- Build a workflow using actions.
- Customize a workflow using job and step attributes.
- Use secrets and environment variables in workflows.
- Workflow templates and reusable workflows.
- Integrate GitHub Actions with other tools and services.
- Follow best practices for using GitHub Actions.
Workshop Outline
The workshop is divided into the following sections:
- Introduction to GitHub Actions
- Actions Workflow Syntax
- Actions Secrets and Environment Variables
- Manage Workflow and Actions
- Building Actions
- Migrate to GitHub Actions
- Runners
- CI / CD
Workshop Labs
The workshop labs are designed to help you learn how to use GitHub Actions by completing hands-on exercises. Each lab contains step-by-step instructions to guide you through the process of setting up and configuring GitHub Actions workflows.
- Create Repository using Template Repository
- Create Manual Workflow
- Understanding YAML Syntax
- Create Simple Workflow
- Create Custom Workflow
- Build ASP.NET Core Web API
- Build ASP.NET Core Web API using Self Hosted Runner
- Environments, Variables and Secrets
- Build and Dockerize React Tic-Tac-Toe Game
- Build and Unit Test Python Application
- Display Workflow Status Badge
Resources
License
This project is licensed under the MIT License - see the LICENSE file for details.