Skip to content

Commit

Permalink
Basic github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
telser committed Sep 5, 2024
1 parent 8b79935 commit 5f691ed
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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

0 comments on commit 5f691ed

Please sign in to comment.