Skip to content

Commit 2d9f722

Browse files
committed
chore: Test bash-5.0 using nix instead of ubuntu-20
ubuntu-20.04 isn't available anymore, so the trick of using it to test an older version of bash doesn't work. This change switches to downloading an older version of bash using nix on the current version of ubuntu.
1 parent a96525a commit 2d9f722

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
- name: Test the project
3838
run: 'eldev -p -dtT test'
3939

40-
test-ubuntu-20:
41-
runs-on: ubuntu-20.04 # bash 5.0
40+
test-bash-5_0:
41+
runs-on: ubuntu-latest
4242
strategy:
4343
matrix:
4444
emacs_version:
@@ -50,6 +50,11 @@ jobs:
5050
with:
5151
version: ${{matrix.emacs_version}}
5252

53+
- name: Install bash 5.0
54+
run: |
55+
nix profile install nixpkgs/3b05df1d13c1b315cecc610a2f3180f6669442f0#bash
56+
which bash
57+
5358
- name: Install Eldev
5459
uses: emacs-eldev/setup-eldev@v1
5560

0 commit comments

Comments
 (0)