Skip to content

Instantly share code, notes, and snippets.

@smarter
Last active March 24, 2021 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarter/77db0ecc1a37ef5295daa9921f1651ed to your computer and use it in GitHub Desktop.
Save smarter/77db0ecc1a37ef5295daa9921f1651ed to your computer and use it in GitHub Desktop.
From 8606ae2990c191766b5b7c9eca250f4569632abe Mon Sep 17 00:00:00 2001
From: Guillaume Martres <smarter@ubuntu.com>
Date: Wed, 24 Mar 2021 12:37:44 +0100
Subject: [PATCH] CI: turn off option that runs git submodule foreach
Because this is run without running git submodule update first, it seems
to break whenever a submodule is deleted.
---
.github/workflows/ci.yaml | 52 +++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git .github/workflows/ci.yaml .github/workflows/ci.yaml
index 73c33373c6b..98a1faaf38d 100644
--- .github/workflows/ci.yaml
+++ .github/workflows/ci.yaml
@@ -54,12 +54,16 @@ jobs:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -99,12 +103,16 @@ jobs:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -134,6 +142,8 @@ jobs:
steps:
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Test
run: sbt ";scala3-bootstrapped/compile"
@@ -159,6 +169,8 @@ jobs:
steps:
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Test
run: sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test"
@@ -192,12 +204,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -232,12 +248,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -272,12 +292,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -312,12 +336,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -360,12 +388,16 @@ jobs:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -396,12 +428,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -430,12 +466,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -476,12 +516,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -558,12 +602,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -603,12 +651,16 @@ jobs:
steps:
- name: Checkout cleanup script
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Cleanup
run: .github/workflows/cleanup.sh
- name: Git Checkout
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
--
2.27.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment