Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/runtime_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Ruby version 3.3
- name: Install Ruby version 4.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: 4.0
bundler-cache: true

- name: Run rubocop
run: bundle exec rubocop
- name: Vanagon inspect
run: |
stat=0
for projfile in configs/projects/[a-z]*.rb; do
for plat in el-8-x86_64 ubuntu-22.04-amd64 windows-all-x64; do
for plat in $(bundle exec vanagon list --platforms | tail -n +2); do
proj=$(basename -s .rb "$projfile")
if [[ "$proj" =~ ^pe- && "$plat" =~ ^(windows|osx) ]]; then
echo Skipping ${proj} on ${plat}, PE projects don\'t support Windows or macOS
Expand All @@ -52,9 +53,6 @@ jobs:
false
fi

- name: Run rubocop
run: bundle exec rubocop

# this takes roughly 10 minutes for linux, so it's fine to run it on all PRs
# MacOS / Windows takes ages, so we don't want to run this always
build:
Expand Down
Loading