fix: improve taskfiles and e2e test (#1615)

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-10-26 14:01:59 -04:00
1 parent d71c3e163d
commit 68e07e7807
6 files changed
+103 -61

No files matched your search

+39 -1
View File
@@ -12,6 +12,44 @@ concurrency:
cancel-in-progress: true
jobs:
archlinux:
name: workstation (archlinux)
runs-on: ubuntu-latest
container:
image: greyltc/archlinux-aur:yay
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test Arch dependencies
shell: bash
run: >-
sudo -E -u ab -D~ bash -c '
cd $GITHUB_WORKSPACE;
yay -Syu --needed --noconfirm --noprogressbar go-task;
go-task workstation:arch
'
generic-linux:
name: workstation (generic-linux)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Homebrew
id: setup-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Setup Workflow Tools
shell: bash
run: brew install go-task
- name: Run Workstation Generic linux tasks
shell: bash
run: task workstation:generic-linux
configure:
if: ${{ github.repository == 'onedr0p/cluster-template' }}
name: configure
@@ -33,7 +71,7 @@ jobs:
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.11" # minimum supported version
python-version: "3.11"
- name: Cache homebrew packages
if: ${{ github.event_name == 'pull_request' }}