Skip to content

Add Dockerfile for self-hosted runner bolierplate #30

Add Dockerfile for self-hosted runner bolierplate

Add Dockerfile for self-hosted runner bolierplate #30

Workflow file for this run

name: "CI Full Run"
on:
pull_request:
branches:
- main
- grok/*/*
push:
branches:
- main
defaults:
timeout-minutes: 5

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI Full Run

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 11, Col: 3): Unexpected value 'timeout-minutes'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create dummy file
run: echo "dummy" > dummy.txt
- name: Test store
uses: ./
with:
action: "store"
storage-host: ""
- name: Remove dummy file
run: rm dummy.txt
- name: Test load
uses: ./
with:
action: "load"
storage-host: ""
- name: Check that dummy file was restored
run: |
set -e
ls -la ~/ci-storage/dimikot/ci-storage
[ "$(cat dummy.txt)" = "dummy" ] || { echo "dummy.txt was not restored"; exit 1; }
example:
runs-on: self-hosted
steps:
- run: for i in $(seq 1 600); do echo $i; sleep 1; done