Wilf Wilson
Wilf Wilson
GitHub Actions
by Wilf Wilson
Sometimes relevant links will appear at the bottom, for later exploration.
Outline
• Then Sergio:
!2
GitHub Actions at its most basic
• In a GitHub repository…
!3
Examples of triggers/events
• A new commit is pushed to a branch
• It’s 9:20 am
• Manual triggering
!4
https://docs.github.com/en/actions/reference/events-that-trigger-workflows
Examples of tasks
• Run regression tests
• Profile performance
• Update a website
!5
https://github.com/marketplace?type=actions
Example workflows
A “workflow” is a unit consisting of configurations and tasks.
Examples:
!6
Benefits
• Automation is consistent
!7
Costs & difficulties
!8
Why now?
GitHub Actions is new, powerful, useful for release process.
Competing/similar services:
• AppVeyor
• Azure Pipelines
• Jenkins
https://docs.github.com/en/actions/learn-github-actions/migrating-from-travis-ci-to-github-actions
Rough practical aspects of
how GitHub Actions works
https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions
How GitHub Actions look on GitHub
!11
v
https://github.com/gap-system/gap/tree/master/.github/workflows
A workflow file…
https://github.com/gap-system/gap/blob/master/.github/workflows/CI.yml
The “Actions” tab…
https://github.com/gap-system/gap/actions
One particular run…
https://github.com/gap-system/gap/actions/runs/551986043
One particular job…
https://github.com/gap-system/gap/runs/1864784244?check_suite_focus=true
A pull request…
https://github.com/gap-system/gap/pull/4248
https://github.com/gap-system/gap/pull/4248/checks
https://github.com/marketplace?type=actions
Questions?
https://docs.github.com/en/actions/learn-github-actions