Skip to content

Commit

Permalink
Create pristine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jww3 authored Apr 29, 2024
1 parent 2489c99 commit 3c05e57
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pristine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Git Version Check"

on:
workflow_dispatch:

jobs:
pristine-install:
name: "Install GH CLI on a Pristine Container"
runs-on: ubuntu-latest
container:
image: ubuntu:latest
options: --user 0
steps:
- name: "Print git --version"
run: |
which git || echo "::warning::git does not appear to be installed"
git --version || echo "::warning::could not determine installed version of git"
- name: "Install GH CLI"
run: |
apt-get update
apt-get install gh -y
- name: "Print git --version"
run: |
which git || echo "::warning::git does not appear to be installed"
git --version || echo "::warning::could not determine installed version of git"
# - name: "Print .git/config"
# run: cat .git/config



0 comments on commit 3c05e57

Please sign in to comment.