Skip to content

Commit

Permalink
Move away from set-output (while updating all deps) (#148)
Browse files Browse the repository at this point in the history
* Update all our deps

Get rid of warnings such as:
* `save-state` will be deprecated
* `set-output` will be deprecated
* nodejs 12 is being deprecated
...

Rely on tests to make sure the actions still works

* Fix as per CI results

* Get rid of deprecated containers

* Have a warningless run

We're not testing rebar3 here, in any case
  • Loading branch information
paulo-ferraz-oliveira authored Oct 19, 2022
1 parent 8d31e4d commit 713cc2f
Show file tree
Hide file tree
Showing 7 changed files with 1,330 additions and 1,110 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
name: Expected local npm actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm install -g npm
Expand All @@ -34,8 +34,8 @@ jobs:
name: Unit tests (Ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm ci
Expand All @@ -45,8 +45,8 @@ jobs:
name: Unit tests (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm install --production
Expand Down
29 changes: 12 additions & 17 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,48 +52,38 @@ jobs:
- otp-version: '24'
rebar3-version: 'nightly'
os: 'ubuntu-latest'
- elixir-version: 'v1.0'
otp-version: '17'
os: 'ubuntu-18.04'
- elixir-version: 'v1.1'
otp-version: '18'
os: 'ubuntu-18.04'
- elixir-version: 'v1.2'
otp-version: '19'
rebar3-version: '3.10'
os: 'ubuntu-18.04'
- elixir-version: 'v1.4'
otp-version: '20'
rebar3-version: '3.6.0'
os: 'ubuntu-18.04'
os: 'ubuntu-20.04'
- elixir-version: 'v1.4'
otp-version: '20'
rebar3-version: '3.11'
os: 'ubuntu-20.04'
- elixir-version: 'v1.6'
otp-version: '21'
rebar3-version: '3.12'
os: 'ubuntu-18.04'
os: 'ubuntu-20.04'
- elixir-version: 'v1.6'
otp-version: '21'
rebar3-version: '3.12'
os: 'ubuntu-20.04'
- elixir-version: 'v1.7'
otp-version: '22'
rebar3-version: '3.13'
os: 'ubuntu-18.04'
os: 'ubuntu-20.04'
- elixir-version: 'v1.7'
otp-version: '22'
rebar3-version: '3.13'
os: 'ubuntu-20.04'
- elixir-version: 'v1.10'
otp-version: '23'
rebar3-version: '3.14'
os: 'ubuntu-18.04'
os: 'ubuntu-20.04'
- elixir-version: 'v1.13.4'
otp-version: '25.0.2'
rebar3-version: '3.19'
os: 'ubuntu-18.04'
os: 'ubuntu-20.04'
- elixir-version: 'v1.10'
otp-version: '23'
rebar3-version: '3.14'
Expand Down Expand Up @@ -127,20 +117,25 @@ jobs:
- gleam-version: 'nightly'
otp-version: '24'
os: 'ubuntu-latest'
disable_problem_matchers: true
- gleam-version: '0.23'
otp-version: '24'
os: 'ubuntu-latest'
disable_problem_matchers: true
- gleam-version: '0.23.0-rc1'
otp-version: '24'
os: 'ubuntu-latest'
disable_problem_matchers: true
- gleam-version: '0.23.0-rc1'
otp-version: false
os: 'ubuntu-latest'
disable_problem_matchers: true
- gleam-version: '0.22.0' # Version with Gleam's old archive naming convention
otp-version: '24'
os: 'ubuntu-latest'
disable_problem_matchers: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use erlef/setup-beam
id: setup-beam
uses: ./
Expand Down Expand Up @@ -202,7 +197,7 @@ jobs:
rebar3-version: 'nightly'
os: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use erlef/setup-beam
id: setup-beam
uses: ./
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_3rd_party_licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Update 3rd party licenses
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- run:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
otp-version: '23'
rebar3-version: '3.14'
os: 'windows-latest'
- elixir-version: 'v1.11'
- elixir-version: 'v1.13'
otp-version: '24'
rebar3-version: '3.15'
os: 'windows-latest'
Expand All @@ -46,7 +46,7 @@ jobs:
rebar3-version: '3.16'
os: 'windows-latest'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use erlef/setup-beam
id: setup-beam
uses: ./
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
rebar3-version: 'nightly'
os: 'windows-latest'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use erlef/setup-beam
id: setup-beam
uses: ./
Expand Down
Loading

0 comments on commit 713cc2f

Please sign in to comment.