File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 test :
11- runs-on : ubuntu-20 .04
11+ runs-on : ubuntu-24 .04
1212 env :
1313 MIX_ENV : test
14+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
1415 strategy :
1516 fail-fast : false
1617 matrix :
1718 include :
18- - pair :
19- elixir : " 1.11"
20- otp : " 21"
21- - pair :
22- elixir : " 1.18"
23- otp : " 27"
19+ # Minimum supported versions.
20+ - elixir : " 1.15"
21+ otp : " 26"
22+
23+ # Latest versions.
24+ - elixir : " 1.19"
25+ otp : " 28"
2426 lint : lint
2527 steps :
26- - uses : actions/checkout@v4
28+ - name : Check out this repository
29+ uses : actions/checkout@v6
2730
28- - uses : erlef/setup-beam@v1
31+ - name : Set up Erlang and Elixir
32+ uses : erlef/setup-beam@v1
2933 with :
30- otp-version : ${{matrix.pair. otp}}
31- elixir-version : ${{matrix.pair. elixir}}
34+ otp-version : ${{matrix.otp}}
35+ elixir-version : ${{matrix.elixir}}
3236
33- - uses : actions/cache@v4
37+ - name : Cache Mix dependencies
38+ uses : actions/cache@v5
39+ id : cache-deps
3440 with :
3541 path : |
3642 deps
3743 _build
38- key : ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
44+ key : |
45+ mix-${{ runner.os }}-${{matrix.elixir}}-${{matrix.otp}}-${{ hashFiles('**/mix.lock') }}
3946 restore-keys : |
40- ${{ runner.os }}-mix- ${{matrix.pair. elixir}}-${{matrix.pair .otp}}-
47+ mix- ${{ runner.os }}-${{matrix.elixir}}-${{matrix.otp}}-
4148
42- - run : mix deps.get
49+ - run : mix do deps.get --check-locked, deps.compile
50+ if : steps.cache-deps.outputs.cache-hit != 'true'
4351
4452 - run : mix format --check-formatted
4553 if : ${{ matrix.lint }}
4654
4755 - run : mix deps.unlock --check-unused
4856 if : ${{ matrix.lint }}
4957
50- - run : mix deps.compile
51-
5258 - run : mix compile --warnings-as-errors
5359 if : ${{ matrix.lint }}
5460
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## Unreleased
9+
10+ ### Changed
11+ - Bump minimum elixir to 1.15
12+ - Modernize github actions
13+
814## [ 1.0.0] - 2026-05-26
915
1016### Changed
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ defmodule BroadwayCloudPubSub.MixProject do
99 [
1010 app: :broadway_cloud_pub_sub ,
1111 version: @ version ,
12- elixir: "~> 1.11 " ,
12+ elixir: "~> 1.15 " ,
1313 elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
1414 name: "BroadwayCloudPubSub" ,
1515 description: @ description ,
You can’t perform that action at this time.
0 commit comments