Skip to content

Basic github action workflow #1

Basic github action workflow

Basic github action workflow #1

Workflow file for this run

name: Build and Test
on:
push:
defaults:
run:
shell: bash
jobs:
build:
name: Build and Test
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
env:
cache-version: v3
with:
key: ${{ env.cache-version }}-${{ hashFiles('stack*.yaml') }}-${{ hashFiles('package.yaml') }}
restore-keys: |
${{ env.cache-version }}-
path: |
./stack-root
- name: Build and test
run: |
set -o errexit
mkdir -p ./stack-root
echo "PROJECT_DIR=$PWD" >> .env
mv compose.override.github.yml compose.override.yml
./scripts/build