ci: create setup action

This deduplicates common operations.
This commit is contained in:
dundargoc
2023-11-30 12:05:13 +01:00
committed by dundargoc
parent 76a30f2bd0
commit ce6fefbab9
7 changed files with 47 additions and 40 deletions

View File

@@ -14,8 +14,8 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- run: ./.github/scripts/install_deps.sh
- uses: ./.github/actions/cache
- uses: ./.github/actions/setup
- name: Build
run: |
cmake -S cmake.deps --preset ci