Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hicksjacobp/checkout-test
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: jww3/checkout-test
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 20 commits
  • 2 files changed
  • 1 contributor

Commits on Apr 29, 2024

  1. Create git-version-check.yml

    jww3 authored Apr 29, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    martimlobao Martim Lobao
    Copy the full SHA
    ef95624 View commit details
  2. Update git-version-check.yml

    jww3 authored Apr 29, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    martimlobao Martim Lobao
    Copy the full SHA
    f8540d9 View commit details
  3. Update git-version-check.yml

    jww3 authored Apr 29, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    martimlobao Martim Lobao
    Copy the full SHA
    2489c99 View commit details
  4. Create pristine.yml

    jww3 authored Apr 29, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    martimlobao Martim Lobao
    Copy the full SHA
    3c05e57 View commit details
  5. Update pristine.yml

    jww3 authored Apr 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    eb96537 View commit details
  6. Update pristine.yml

    jww3 authored Apr 29, 2024
    Copy the full SHA
    abf30f8 View commit details
  7. Update pristine.yml

    jww3 authored Apr 29, 2024
    Copy the full SHA
    c78283e View commit details
  8. Update pristine.yml

    jww3 authored Apr 29, 2024
    Copy the full SHA
    75ccf6f View commit details
  9. Update pristine.yml

    jww3 authored Apr 29, 2024
    Copy the full SHA
    647f400 View commit details

Commits on May 1, 2024

  1. Update pristine.yml

    jww3 authored May 1, 2024
    Copy the full SHA
    29257ee View commit details

Commits on May 3, 2024

  1. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    4547cde View commit details
  2. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    d53b764 View commit details
  3. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    e11d7e4 View commit details
  4. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    f766198 View commit details
  5. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    c13c6a9 View commit details
  6. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    4bff4d7 View commit details
  7. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    d9d8883 View commit details
  8. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    530428b View commit details
  9. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    12aa7b0 View commit details
  10. Update pristine.yml

    jww3 authored May 3, 2024
    Copy the full SHA
    08cdf2f View commit details
Showing with 92 additions and 0 deletions.
  1. +50 −0 .github/workflows/git-version-check.yml
  2. +42 −0 .github/workflows/pristine.yml
50 changes: 50 additions & 0 deletions .github/workflows/git-version-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "Git Version Check"

on:
workflow_dispatch:

jobs:
test1:
name: "Check Git Version on ubuntu-latest"
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v4.1.4
# with:
# sparse-checkout-cone-mode: true
# fetch-depth: 1
# fetch-tags: false
- name: "Print git --version"
run: git --version
# - name: "Print .git/config"
# run: cat .git/config
# - name: "dotnet build"
# run: dotnet build
test2:
name: "Check Git Version on actions/runner:2.316.0"
runs-on: ubuntu-latest
container:
image: ghcr.io/actions/actions-runner:2.316.0
options: --user 0
steps:
# - name: "Update git"
# run: |
# apt-get update
# apt-get install git -y
# apt-get install curl -y
# - uses: actions/checkout@v4.1.4
# with:
# sparse-checkout-cone-mode: true
# fetch-depth: 1
# fetch-tags: false
- 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
# - uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '8.0.204'
# - name: "dotnet build"
# run: dotnet build

42 changes: 42 additions & 0 deletions .github/workflows/pristine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Install GH CLI"

on:
workflow_dispatch:

jobs:
pristine-install:
name: "Install GH CLI on a Pristine Container"
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
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: "Configure apt"
run: |
apt update
apt-get install wget -y
apt-get install software-properties-common -y
add-apt-repository ppa:git-core/ppa
apt update
- name: "Install GH CLI"
run: |
mkdir -p -m 755 /etc/apt/keyrings
wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
apt update
apt install gh -y
apt show gh
- 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