Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-down-circle

GitHub Action

rtx action

v1.2.0

rtx action

arrow-down-circle

rtx action

Actions for working with rtx runtime manager

Installation

Copy and paste the following snippet into your .yml file.

              

- name: rtx action

uses: jdx/rtx-action@v1.2.0

Learn more about this action in jdx/rtx-action

Choose a version

Example Workflow

name: test
on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: jdxcode/rtx-action@v1
        with:
          tool_versions: |
            shellcheck 0.9.0
      - run: shellcheck scripts/*.sh
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: jdxcode/rtx-action@v1
      # .tool-versions will be read from repo root
      - run: node ./my_app.js