0
1
mirror of https://github.com/actions/checkout synced 2024-06-01 18:38:03 +02:00

Try mapping git runtime into container

This commit is contained in:
John Wesley Walker III 2024-02-17 04:26:39 +01:00 committed by GitHub
parent 7aa0640182
commit 159fd987f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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