Skip to content

Commit

Permalink
Merge pull request #1985 from gooddata/fixups
Browse files Browse the repository at this point in the history
chore(ci): avoid full-depth checkouts
  • Loading branch information
vonsch authored Aug 19, 2024
2 parents 5edec07 + 3389556 commit fb74957
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ jobs:
jruby-gem-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-9.4.1
Expand All @@ -29,9 +27,7 @@ jobs:
rubygems-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
Expand All @@ -47,9 +43,7 @@ jobs:
matrix:
ruby-version: [3.2.1, jruby-9.4.1]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
matrix:
ruby-version: [2.5, 2.6, 2.7.6, 3.2.1, jruby-9.2.21, jruby-9.3.14, jruby-9.4.1]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
Expand All @@ -24,9 +22,7 @@ jobs:
pronto-code-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
Expand Down
1 change: 1 addition & 0 deletions gooddata.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Gem::Specification.new do |s|
s.add_dependency 'json_pure', '~> 2.6'
s.add_dependency 'multi_json', '~> 1.12'
s.add_dependency 'parseconfig', '~> 1.0'
s.add_dependency 'path_expander', '< 1.1.2'
s.add_dependency 'pmap', '~> 1.1'
s.add_dependency 'sequel', '< 5.72.0'
s.add_dependency 'remote_syslog_logger', '~> 1.0.3'
Expand Down

0 comments on commit fb74957

Please sign in to comment.