Skip to content

Commit ed40084

Browse files
committed
Try to fix i
1 parent 852a8f9 commit ed40084

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/scripts/check_config_doc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lib = File.expand_path('lib', __dir__)
1+
lib = File.expand_path('../../lib', __dir__)
22
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
33
require 'datadog'
44

.github/workflows/check-config-doc.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,26 @@ on: # yamllint disable-line rule:truthy
1313
branches:
1414
- master
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1620
# Default permissions for all jobs
1721
permissions: {}
1822

1923
jobs:
20-
build:
24+
run:
2125
runs-on: ubuntu-22.04
2226
permissions: {}
2327
steps:
24-
- name: Checkout code
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2629
with:
2730
persist-credentials: false
28-
29-
# - name: Set up Ruby
30-
# uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # v1.244.0
31-
# with:
32-
# ruby-version: "3.4"
31+
- name: Restore bundle cache
32+
uses: ./.github/actions/bundle-restore
33+
with:
34+
lockfile: ${{ needs.build.outputs.lockfile }}
35+
cache-key: ${{ needs.build.outputs.cache-key }}
3336

3437
- name: Check for missing documentation
35-
run: ruby .github/scripts/check_config_doc.rb
38+
run: bundle exec ruby .github/scripts/check_config_doc.rb

0 commit comments

Comments
 (0)