Skip to content

Commit

Permalink
Replace the use of actions/checkout with a manual checkout
Browse files Browse the repository at this point in the history
v3 of this action triggers deprecation warnings and will stop working
soon, while v4 doesn't work under Ubuntu 18.04 which we use for ODBC
testing due to actions/checkout#1442
  • Loading branch information
vadz committed Mar 20, 2024
1 parent a02f9a8 commit e59bc1b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
run: |
case "${{matrix.container}}" in
ubuntu:18.04)
export DEBIAN_FRONTEND=noninteractive
apt-get update -qq
apt-get install -qq git
;;
esac
git init soci
cd soci
git remote add origin https://github.com/SOCI/soci.git
git fetch --depth=1 origin $GITHUB_SHA
git checkout FETCH_HEAD
- name: Set environment variables
run: |
Expand Down

0 comments on commit e59bc1b

Please sign in to comment.