Skip to content

Commit 1ba4367

Browse files
committed
Add workflows
1 parent 05ad9a2 commit 1ba4367

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci
2+
3+
on:
4+
schedule:
5+
- cron: '0 */4 * * *' # every 4 hours
6+
push:
7+
branches:
8+
- '**'
9+
tags:
10+
- 'v*.*.*'
11+
pull_request:
12+
13+
jobs:
14+
github-runtime:
15+
runs-on: ubuntu-latest
16+
steps:
17+
-
18+
name: Checkout
19+
uses: actions/checkout@v2
20+
-
21+
name: Expose GitHub Runtime
22+
uses: ./
23+
-
24+
name: Env
25+
run: |
26+
env|sort

.github/workflows/validate.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: validate
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
- 'releases/v*'
8+
paths-ignore:
9+
- '**.md'
10+
pull_request:
11+
branches:
12+
- 'master'
13+
paths-ignore:
14+
- '**.md'
15+
16+
jobs:
17+
validate:
18+
runs-on: ubuntu-latest
19+
steps:
20+
-
21+
name: Checkout
22+
uses: actions/checkout@v2
23+
-
24+
name: Validate
25+
run: docker buildx bake validate

0 commit comments

Comments
 (0)