aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGheorghe Popescu <gheorghe.popescu@puppet.com>2020-11-10 15:45:31 +0200
committerGitHub <noreply@github.com>2020-11-10 15:45:31 +0200
commitcbd8518d736f5d50b95a0fc12335b09a5de4bffc (patch)
treeedbb5f7ce35a5af9fbc10d52463b929f5067512b
parentb354b781b86fcd20d5f79b10233dc0037e24d99e (diff)
parent950ba71975d1ba85352e546a0476d8fdd7e7e989 (diff)
downloadpuppet-sshkeys_core-cbd8518d736f5d50b95a0fc12335b09a5de4bffc.tar.gz
puppet-sshkeys_core-cbd8518d736f5d50b95a0fc12335b09a5de4bffc.tar.bz2
Merge pull request #42 from luchihoratiu/maint-allow-git-to-use-long-paths-in-gh-actions
(maint) Allow git to use long paths in GitHub Actions
-rw-r--r--.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml3
-rw-r--r--.github/workflows/static_code_analysis.yaml4
-rw-r--r--.github/workflows/unit_tests_with_nightly_puppet_gem.yaml1
-rw-r--r--.github/workflows/unit_tests_with_released_puppet_gem.yaml3
4 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
index 16d4500..5bd0f50 100644
--- a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
@@ -7,7 +7,7 @@ on:
jobs:
daily_unit_tests_with_nightly_puppet_gem:
- name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
+ name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2016' ]
@@ -50,6 +50,7 @@ jobs:
- name: Prepare testing environment with bundler
run: |
+ git config --global core.longpaths true
bundle config set system 'true'
${{ matrix.env_set_cmd }}PUPPET_GEM_VERSION=$(ruby -e 'puts /puppet\s+\((.+)\)/.match(`gem list -eld puppet`)[1]')
bundle update --jobs 4 --retry 3
diff --git a/.github/workflows/static_code_analysis.yaml b/.github/workflows/static_code_analysis.yaml
index 9b94bf8..0a1f427 100644
--- a/.github/workflows/static_code_analysis.yaml
+++ b/.github/workflows/static_code_analysis.yaml
@@ -28,7 +28,9 @@ jobs:
ruby-version: ${{ env.ruby_version }}
- name: Prepare testing environment with bundler
- run: bundle update --jobs 4 --retry 3
+ run: |
+ git config --global core.longpaths true
+ bundle update --jobs 4 --retry 3
- name: Run commits check
run: bundle exec rake commits
diff --git a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
index b408ee8..0b1afc0 100644
--- a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
@@ -52,6 +52,7 @@ jobs:
- name: Prepare testing environment with bundler
run: |
+ git config --global core.longpaths true
bundle config set system 'true'
${{ matrix.env_set_cmd }}PUPPET_GEM_VERSION=$(ruby -e 'puts /puppet\s+\((.+)\)/.match(`gem list -eld puppet`)[1]')
bundle update --jobs 4 --retry 3
diff --git a/.github/workflows/unit_tests_with_released_puppet_gem.yaml b/.github/workflows/unit_tests_with_released_puppet_gem.yaml
index 47385ac..11ddefe 100644
--- a/.github/workflows/unit_tests_with_released_puppet_gem.yaml
+++ b/.github/workflows/unit_tests_with_released_puppet_gem.yaml
@@ -9,7 +9,7 @@ on:
jobs:
unit_tests_with_released_puppet_gem:
- name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
+ name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2016' ]
@@ -41,6 +41,7 @@ jobs:
- name: Prepare testing environment with bundler
run: |
+ git config --global core.longpaths true
bundle config set system 'true'
bundle update --jobs 4 --retry 3