mise-action/README.md
Jeff Dickey ed2ee922aa docs
2023-02-21 23:34:44 -06:00

553 B

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