Skip to content

Commit

Permalink
0a
Browse files Browse the repository at this point in the history
  • Loading branch information
coreone committed Aug 28, 2023
1 parent 2fe7f94 commit 8dbceef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
BUNDLE_WITH: 'development'
with:
bundler-cache: true
ruby-version: '3.2'
ruby-version: '2.7'
rubygems: 'latest'

- name: 'Install PDK'
run: 'apt-get install -y pdk'

- name: 'Run static analysis'
run: bundle exec pdk validate

Expand All @@ -41,7 +44,6 @@ jobs:
ruby:
- '2.6'
- '2.7'
- '3.2'
steps:
- name: 'Checkout repo'
uses: 'actions/checkout@v3'
Expand All @@ -56,5 +58,8 @@ jobs:
ruby-version: ${{ matrix.ruby }}
rubygems: 'latest'

- name: 'Install PDK'
run: 'apt-get install -y pdk'

- name: 'Run unit tests'
run: 'bundle exec pdk test unit -v'
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ jobs:
BUNDLE_WITH: 'development'
with:
bundler-cache: true
ruby-version: '3.2'
ruby-version: '2.7'
rubygems: 'latest'

- name: 'Install PDK'
run: 'apt-get install -y pdk'

- name: 'Module build'
run: 'bundle exec pdk build --force'

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ jobs:
BUNDLE_WITH: 'development'
with:
bundler-cache: true
ruby-version: '3.2'
ruby-version: '2.7'
rubygems: 'latest'

- name: 'Install PDK'
run: 'apt-get install -y pdk'

- name: 'Module build'
run: 'bundle exec pdk build --force'

Expand Down

0 comments on commit 8dbceef

Please sign in to comment.