Skip to content

Commit

Permalink
Merge pull request #150 from matt-mazzucato/bump-tools-in-workflows
Browse files Browse the repository at this point in the history
Bump ubuntu and elixir/otp versions in workflows
  • Loading branch information
bettio authored Mar 20, 2023
2 parents 777733d + cf74fee commit 07aadbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:
pull_request:

env:
elixir_version: 1.10.1
otp_version: 22.2
elixir_version: 1.11.4
otp_version: 23.2

jobs:
test-dialyzer:
name: Check Dialyzer
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
MIX_ENV: ci
steps:
Expand All @@ -39,7 +39,7 @@ jobs:
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-dialyzer_cache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-dialyzer_cache-
- uses: erlef/setup-elixir@v1.6.0
- uses: erlef/setup-beam@v1.7.0
with:
otp-version: ${{ env.otp_version }}
elixir-version: ${{ env.elixir_version }}
Expand All @@ -51,7 +51,7 @@ jobs:

test-coverage:
name: Build and Test
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
# Wait for Dialyzer to give it a go before building
needs:
- test-dialyzer
Expand All @@ -67,7 +67,7 @@ jobs:
with:
path: _build
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ github.sha }}
- uses: erlef/setup-elixir@v1.6.0
- uses: erlef/setup-beam@v1.7.0
with:
otp-version: ${{ env.otp_version }}
elixir-version: ${{ env.elixir_version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
docs:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
# Checkout the source
- uses: actions/checkout@v2
Expand All @@ -30,10 +30,10 @@ jobs:
repository: astarte-platform/docs
ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}
path: docs
- uses: erlef/setup-elixir@v1.6.0
- uses: erlef/setup-beam@v1.7.0
with:
otp-version: 21.3
elixir-version: 1.8.2
otp-version: "23.2"
elixir-version: "1.11.4"
- name: Install Dependencies
working-directory: ./astarte_flow
run: mix deps.get
Expand Down

0 comments on commit 07aadbe

Please sign in to comment.