Skip to content

Commit 2070d47

Browse files
authored
Remove Git upgrade step from CI (purescript#4541)
buster-backports no longer exists in debian/dists and it's breaking CI. The currently available version of Git in this container is 2.20.1, so we don't need this.
1 parent 851291e commit 2070d47

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ jobs:
6969
version: "${{ steps.build.outputs.version }}"
7070

7171
steps:
72-
- # We need a proper Git repository, but the checkout step will unpack a tarball instead of doing a clone
73-
# if the Git version is less than 2.18.
74-
name: "(Linux only) Install a newer version of Git"
75-
if: "contains(matrix.os, 'ubuntu-latest')"
76-
run: |
77-
. /etc/os-release
78-
echo deb http://deb.debian.org/debian "$VERSION_CODENAME"-backports main >> /etc/apt/sources.list
79-
apt-get update && apt-get install -y git/"$VERSION_CODENAME"-backports
80-
8172
- # We need `gh` installed on the Linux version. Otherwise, release artifacts won't be uploaded.
8273
name: "(Linux only) Install gh"
8374
if: "contains(matrix.os, 'ubuntu-latest')"
@@ -234,13 +225,6 @@ jobs:
234225
container: haskell:9.2.8@sha256:b3b2f3909c7381bb96b8f18766f9407a3d6f61e0f07ea95e812583ac4f442cbb
235226

236227
steps:
237-
- # We need a proper Git repository, but the checkout step will unpack a tarball instead of doing a clone
238-
# if the Git version is less than 2.18.
239-
name: "Install a newer version of Git"
240-
run: |
241-
. /etc/os-release
242-
echo deb http://deb.debian.org/debian "$VERSION_CODENAME"-backports main >> /etc/apt/sources.list
243-
apt-get update && apt-get install -y git/"$VERSION_CODENAME"-backports
244228
- uses: "actions/checkout@v2"
245229

246230
- name: "Fix working directory ownership"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Remove the step that upgraded Git from the CI workflow

0 commit comments

Comments
 (0)