-
Notifications
You must be signed in to change notification settings - Fork 36
50 lines (50 loc) · 1.49 KB
/
integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Integration
on: push
env:
MIX_ENV: test
BRANCH: ${{ github.ref_name }}
ELIXIR_VERSION: 1.16
OTP_VERSION: 26.2
permissions:
contents: read
jobs:
cldr_person_names:
runs-on: ubuntu-latest
name: CLDR Person Names ${{ github.repository }}/${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
with:
repository: "elixir-cldr/cldr_person_names"
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}
- uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- run: mix deps.get && mix compile --warnings-as-errors && mix test
cldr_territories:
runs-on: ubuntu-latest
name: CLDR Territories ${{ github.repository }}/${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
with:
repository: "elixir-cldr/cldr_territories"
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}
- uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- run: mix deps.get && mix compile --warnings-as-errors && mix test