Merge pull request #2 from valitydev/ft/renovate

Add renovate + erlang build
This commit is contained in:
Egor Cherniak 2022-01-24 13:56:52 +03:00 committed by GitHub
commit caf338407d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 0 deletions

34
.github/workflows/erlang-pr.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Erlang
on:
pull_request:
branches: ['*']
push:
branches: [master]
jobs:
build:
name: Build and verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: valitydev/action-setup-thrift@v0.0.5
- uses: erlef/setup-beam@v1.10
id: beam
with:
otp-version: '24'
rebar3-version: '3.18'
- name: Restore PLT cache
uses: actions/cache@v2
id: plt-cache
with:
key: |
${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-plt
path: |
_build/default/rebar3_*_plt
- run: rebar3 compile
- run: rebar3 xref
- run: rebar3 dialyzer

18
renovate.json Normal file
View File

@ -0,0 +1,18 @@
{
"extends": [
"config:base"
],
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
}
]
}