Skip to content

Commit

Permalink
Updated the actions/checkout version.
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
  • Loading branch information
Jack12816 committed Mar 11, 2024
1 parent 662b6b9 commit 7fd6cdd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install the correct Ruby version
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Ruby 2.5
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
ruby: ['2.5', '2.7']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install the correct Ruby version
uses: ruby/setup-ruby@v1
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ GREP ?= grep
ID ?= id
MKDIR ?= mkdir
RM ?= rm
TEST ?= test
XARGS ?= xargs

# Container binaries
Expand All @@ -33,6 +34,7 @@ RAKE ?= rake
RSPEC ?= rspec
RUBOCOP ?= rubocop
YARD ?= yard
RUBY_VERSION := ruby-version

# Define a generic shell run wrapper
# $1 - The command to run
Expand Down Expand Up @@ -98,7 +100,8 @@ test-style: \

test-style-ruby:
# Run the static code analyzer (rubocop)
@$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a)
@$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
|| ($(TEST) $$($(RUBY_VERSION)) != '2.5' && true))

clean:
# Clean the dependencies
Expand Down

0 comments on commit 7fd6cdd

Please sign in to comment.