Skip to content

Commit 1dc0d64

Browse files
committed
Initial commit
0 parents  commit 1dc0d64

File tree

4 files changed

+845
-0
lines changed

4 files changed

+845
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [master]
5+
tags: ['v*']
6+
pull_request: { branches: [master] }
7+
schedule: [ cron: '9 11 1 * *' ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
timeout-minutes: 5
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: shellcheck -S warning -s sh <(awk '/^":"/{f=1;next}/^":"/{f=0}f' ./pycalc)
17+
- run: echo 'import os; os.environ' | env -i python -i pycalc
18+
19+
workflow-keepalive:
20+
if: github.event_name == 'schedule'
21+
runs-on: ubuntu-latest
22+
permissions:
23+
actions: write
24+
steps:
25+
- uses: liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c # v1.2.1

0 commit comments

Comments
 (0)