Skip to content

Commit 959fdae

Browse files
author
Srdjan Svrdlan
authored
Merge pull request #7 from NFIBrokerage/bump-github-action-versions
Bump github action versions
2 parents fa5e6c2 + 2d506cd commit 959fdae

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on: push
55
jobs:
66
bless:
77
name: Bless
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04
99
env:
1010
MIX_ENV: test
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515

1616
- name: Determine the elixir version
1717
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
@@ -26,7 +26,7 @@ jobs:
2626
otp-version: ${{ env.OTP_VERSION }}
2727

2828
- name: Restore the deps cache
29-
uses: actions/cache@v1
29+
uses: actions/cache@v4
3030
id: deps-cache
3131
with:
3232
path: deps
@@ -35,7 +35,7 @@ jobs:
3535
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
3636
3737
- name: Restore the _build cache
38-
uses: actions/cache@v1
38+
uses: actions/cache@v4
3939
id: build-cache
4040
with:
4141
path: _build
@@ -68,7 +68,7 @@ jobs:
6868

6969
publish-hex-package:
7070
name: Publish Hex Package ⬆️☁️
71-
runs-on: ubuntu-latest
71+
runs-on: ubuntu-20.04
7272
if: startsWith(github.ref, 'refs/tags/v')
7373
env:
7474
MIX_ENV: dev
@@ -77,7 +77,7 @@ jobs:
7777

7878
steps:
7979
- name: Checkout
80-
uses: actions/checkout@v2
80+
uses: actions/checkout@v4
8181

8282
- name: Determine the elixir version
8383
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
@@ -92,7 +92,7 @@ jobs:
9292
otp-version: ${{ env.OTP_VERSION }}
9393

9494
- name: Restore the deps cache
95-
uses: actions/cache@v1
95+
uses: actions/cache@v4
9696
id: deps-cache
9797
with:
9898
path: deps
@@ -101,7 +101,7 @@ jobs:
101101
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
102102
103103
- name: Restore the _build cache
104-
uses: actions/cache@v1
104+
uses: actions/cache@v4
105105
id: build-cache
106106
with:
107107
path: _build
@@ -136,7 +136,7 @@ jobs:
136136

137137
- name: Create a GitHub Release
138138
id: create_release
139-
uses: NFIBrokerage/create-release@v2
139+
uses: NFIBrokerage/create-release@v4
140140
env:
141141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142142
with:

.github/workflows/refresh-dev-cache.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ env:
3131
jobs:
3232
refresh-dev-cache:
3333
name: Refresh Dev Cache
34-
runs-on: ubuntu-latest
34+
runs-on: ubuntu-20.04
3535
env:
3636
MIX_ENV: dev
3737

3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v4
4141

4242
- name: Determine the elixir version
4343
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
@@ -52,7 +52,7 @@ jobs:
5252
otp-version: ${{ env.OTP_VERSION }}
5353

5454
- name: Restore the deps cache
55-
uses: actions/cache@v1
55+
uses: actions/cache@v4
5656
id: deps-cache
5757
with:
5858
path: deps
@@ -61,7 +61,7 @@ jobs:
6161
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
6262
6363
- name: Restore the _build cache
64-
uses: actions/cache@v1
64+
uses: actions/cache@v4
6565
id: build-cache
6666
with:
6767
path: _build

0 commit comments

Comments
 (0)