Skip to content

[Chore] Update ruby version used in CI to 3.3 #235

[Chore] Update ruby version used in CI to 3.3

[Chore] Update ruby version used in CI to 3.3 #235

Workflow file for this run

# SPDX-FileCopyrightText: 2022 Serokell <https://serokell.io/>

Check failure on line 1 in .github/workflows/danger.yml

View workflow run for this annotation

GitHub Actions / Danger

Invalid workflow file

The workflow is not valid. .github/workflows/danger.yml: Anchors are not currently supported. Remove the anchor 'danger_version'
#
# SPDX-License-Identifier: MPL-2.0
name: Danger
on: [pull_request]
jobs:
run-danger-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- uses: MeilCli/danger-action@v5
name: Instant checks
with:
install_path: 'vendor/bundle'
danger_file: './danger/instant-checks.rb'
danger_id: 'instant-checks'
danger_version: &danger_version
'= 9.4.2'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_BOT_TOKEN }}
- uses: MeilCli/danger-action@v5
name: Premerge checks
with:
install_path: 'vendor/bundle'
danger_file: './danger/premerge-checks.rb'
danger_id: 'premerge-checks'
danger_version: *danger_version
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_BOT_TOKEN }}