aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-01-26 12:38:49 +0100
committerLoïc Hoguin <[email protected]>2024-01-26 12:38:49 +0100
commit7743c0c4a7064c746ac5113ca0532e59b5a06b2a (patch)
tree5b4c220910ea64ea68d82d1d2b257153dbaa3b91
parentd3fa3b2d0265a82085953314c13907c83e60aeb8 (diff)
downloadci.erlang.mk-7743c0c4a7064c746ac5113ca0532e59b5a06b2a.tar.gz
ci.erlang.mk-7743c0c4a7064c746ac5113ca0532e59b5a06b2a.tar.bz2
ci.erlang.mk-7743c0c4a7064c746ac5113ca0532e59b5a06b2a.zip
Don't use specific actions versions and update cache to v4
-rw-r--r--.github/workflows/ci.yaml18
-rw-r--r--.github/workflows/unix-ci.yaml14
2 files changed, 16 insertions, 16 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 86aaee5..5376108 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,10 +20,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Checkout ci.erlang.mk repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
with:
repository: ninenines/ci.erlang.mk
path: deps/ci.erlang.mk
@@ -68,16 +68,16 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Checkout ci.erlang.mk repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
with:
repository: ninenines/ci.erlang.mk
path: deps/ci.erlang.mk
- name: Setup MSYS2
- uses: msys2/[email protected]
+ uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
@@ -107,16 +107,16 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Install Erlang/OTP
- uses: erlef/[email protected]
+ uses: erlef/setup-beam@v1
with:
otp-version: '${{ matrix.erlang }}'
version-type: loose
- name: Setup MSYS2
- uses: msys2/[email protected]
+ uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
@@ -129,7 +129,7 @@ jobs:
run: PATH=$INSTALL_DIR_FOR_OTP/bin:$PATH make -k ci-windows-${{ matrix.erlang }}
- name: Upload logs
- uses: actions/[email protected]
+ uses: actions/upload-artifact@v4
if: always()
with:
name: Common Test logs (${{ matrix.erlang }} ${{ runner.os }})
diff --git a/.github/workflows/unix-ci.yaml b/.github/workflows/unix-ci.yaml
index 7b9616e..fc44826 100644
--- a/.github/workflows/unix-ci.yaml
+++ b/.github/workflows/unix-ci.yaml
@@ -31,11 +31,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Manage CI cache
id: cache
- uses: actions/[email protected]
+ uses: actions/cache@v4
with:
path: |
~/erlang/
@@ -52,10 +52,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Restore CI cache
- uses: actions/cache/[email protected]
+ uses: actions/cache/restore@v4
with:
path: |
~/erlang/
@@ -69,7 +69,7 @@ jobs:
run: make -k ci-${{ inputs.erlang }}
- name: Upload logs
- uses: actions/[email protected]
+ uses: actions/upload-artifact@v4
if: always()
with:
name: Common Test logs (${{ inputs.erlang }} ${{ runner.os }})
@@ -86,10 +86,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Restore CI cache
- uses: actions/cache/[email protected]
+ uses: actions/cache/restore@v4
with:
path: |
~/erlang/