From 159fd987f616cc9426a75a4241a6fc7e3d46af3e Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Sat, 17 Feb 2024 04:26:39 +0100 Subject: [PATCH] Try mapping git runtime into container --- .github/workflows/test.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df89de9..52e42aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -187,18 +187,12 @@ jobs: - name: Verify basic run: __test__/verify-basic.sh --archive - inspect: - runs-on: ubuntu-latest - steps: - - name: Inspect Git Version - run: | - which git - git --version - test-proxy: runs-on: ubuntu-latest container: image: ubuntu:latest + volumes: + - /usr/bin/git:/mapped/bin/git options: --dns 127.0.0.1 services: squid-proxy: @@ -208,18 +202,8 @@ jobs: env: https_proxy: http://squid-proxy:3128 steps: - # - name: Install Git - # env: - # https_proxy: "" # Disable https_proxy for this single step - # http_proxy: "" - # run: | - # apt-get clean - # apt-get upgrade - # apt-get update - # # apt-get install software-properties-common - # # add-apt-repository ppa:git-core/ppa - # # apt-get update - # apt-get install git + - name: Update System Path + run: echo "/mapped/bin" >> $GITHUB_PATH # Clone this repo - name: Checkout