Skip to content

Commit

Permalink
Remove submodules from CI workflow (#115)
Browse files Browse the repository at this point in the history
* Remove recursive checkout.

* Remove updating git version.
  • Loading branch information
jrhemstad committed Jun 23, 2023
1 parent eee640a commit 1a4c76e
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,8 @@ jobs:
permissions:
id-token: write
steps:
- name: Echo git version
run: git --version
#TODO: We can remove this when we aren't using submodules anymore
- name: Update git version
run: |
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
git --version
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Configure credentials and environment variables for sccache
uses: ./.github/actions/configure_cccl_sccache
- name: Run build script
Expand Down Expand Up @@ -81,18 +69,8 @@ jobs:
permissions:
id-token: write
steps:
# TODO: We can remove this when we aren't using submodules anymore
- name: Update git version
run: |
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
git --version
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Configure credentials and environment variables for sccache
uses: ./.github/actions/configure_cccl_sccache
- name: Run test script
Expand Down

0 comments on commit 1a4c76e

Please sign in to comment.