Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LT for women in tech

pnsk
November 22, 2024
4

LT for women in tech

The LT event for Women in tech on Nov. 22nd 2024

pnsk

November 22, 2024
Tweet

Transcript

  1. GitHub Actions • Is a CI/CD platform. • Let us

    automate workflows at every steps in software development process.
  2. Action items to deploy • Unit tests • Code quality

    and compliance checks • Checking code and dependencies for known security issues • Code build • Integration tests • Versioning the new build • Deliver the new binaries to appropriate file systems • Deploy the new binaries to servers • If any of above items failed, reporting the issue
  3. Workflow • One or more events will trigger the workflow

    • One or more jobs, each of which will execute on a runner machine and run series of one or more steps • Each step can either run a script or run an action • Create .yml file under .github/workflow directory How to create a workflow?
  4. Workflow logs • WebUI: ◦ From “Actions” tab, select your

    workflow and then job • GitHub REST APIs
  5. Let’s create a workflow • Finding open-source projects in https://github.com/actions

    • Searching in https://github.com/marketplace?type=actions • Writing own GitHub Actions from scratch You can create a workflow by: