|
|
|
@ -14,38 +14,17 @@
|
|
|
|
|
---
|
|
|
|
|
name: GitHub Actions Ubuntu
|
|
|
|
|
|
|
|
|
|
#env:
|
|
|
|
|
# DEBUG: 1
|
|
|
|
|
|
|
|
|
|
on: # [push]
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- master
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
schedule:
|
|
|
|
|
- cron: '0 7 * * *'
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
#name: build
|
|
|
|
|
timeout-minutes: 60
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cache/pip
|
|
|
|
|
key: ${{ runner.os }}-pip-bash-tools # ${{ hashFiles('**/requirements.txt') }}
|
|
|
|
|
restore-keys: |
|
|
|
|
|
${{ runner.os }}-pip-bash-tools
|
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cpanm
|
|
|
|
|
key: ${{ runner.os }}-cpanm-bash-tools-${{ hashFiles('**/cpan-requirements.txt') }}
|
|
|
|
|
restore-keys: |
|
|
|
|
|
${{ runner.os }}-cpanm-bash-tools
|
|
|
|
|
- name: init
|
|
|
|
|
run: make init
|
|
|
|
|
- name: build
|
|
|
|
|
run: make ci
|
|
|
|
|
- name: test
|
|
|
|
|
run: make test
|
|
|
|
|
name: GitHub Ubuntu
|
|
|
|
|
uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master
|
|
|
|
|
#with:
|
|
|
|
|
# debug: 1
|
|
|
|
|