Skip to content

Commit ccc5e22

Browse files
committed
setup basic CI for renovate and other tests
1 parent 12ac099 commit ccc5e22

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Run Tests
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: earthly/actions-setup@v1.0.13
14+
with:
15+
github-token: ${{ secrets.GITHUB_TOKEN }}
16+
# renovate: datasource=docker depName=earthly/earthly
17+
version: "0.8.13"
18+
- uses: actions/checkout@v4.1.6
19+
- name: Run tests
20+
run: |
21+
earthly +test
22+
env:
23+
EARTHLY_CI: true

renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
],
1515
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
1616
},
17+
{
18+
"customType": "regex",
19+
"fileMatch": ["^.*\\.yml$"],
20+
"matchStrings": [
21+
"#\\s*renovate:\\s*datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)\\s+version:\\s+\"(?<currentValue>.*?)\""
22+
]
23+
},
1724
{
1825
"customType": "regex",
1926
"fileMatch": ["^earthly\\.sh$"],

0 commit comments

Comments
 (0)