build: save build artifacts with full sha #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- "*" | |
permissions: | |
contents: read | |
jobs: | |
# ------------- | |
run_tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: System Dependencies | |
run: >- | |
sudo apt-get update && | |
sudo apt-get install -y | |
libxcb-xinerama0 | |
libxkbcommon-x11-0 | |
libgl1-mesa-glx | |
libegl1 | |
libopengl0 | |
libxcb-icccm4 | |
libxcb-image0 | |
libxcb-keysyms1 | |
libxcb-randr0 | |
libxcb-render-util0 | |
libxcb-xinerama0 | |
libxcb-xfixes0 | |
x11-utils | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Lint Checks | |
run: pipx run hatch fmt --check | |
- name: Unit Tests | |
run: pipx run hatch test --all | |
# ------------- | |
build: | |
uses: ./.github/workflows/_build.yml | |
with: | |
is-dev: true |