Fork of mise-action for forgejo
Find a file
Jeff Dickey 819c65c8c0
1.1.1
2023-03-06 09:39:09 -06:00
.github Require to specify GITHUB_TOKEN for considering API limit 2023-02-23 04:44:03 +09:00
.husky dist 2023-01-14 08:44:01 -06:00
__tests__ download rtx 2023-02-20 23:27:49 -06:00
dist Clobber rtx binary if it already exists (#36) 2023-03-06 09:35:21 -06:00
src Clobber rtx binary if it already exists (#36) 2023-03-06 09:35:21 -06:00
.eslintignore Initial commit 2023-01-14 08:11:40 -06:00
.eslintrc.json Initial commit 2023-01-14 08:11:40 -06:00
.gitattributes Initial commit 2023-01-14 08:11:40 -06:00
.gitignore Initial commit 2023-01-14 08:11:40 -06:00
.prettierignore Initial commit 2023-01-14 08:11:40 -06:00
.prettierrc.json Initial commit 2023-01-14 08:11:40 -06:00
action.yml change action name 2023-02-21 23:52:09 -06:00
CODEOWNERS updated CODEOWNERS 2023-02-21 23:18:57 -06:00
jest.config.js Initial commit 2023-01-14 08:11:40 -06:00
LICENSE Initial commit 2023-01-14 08:11:40 -06:00
package-lock.json 1.1.1 2023-03-06 09:39:09 -06:00
package.json 1.1.1 2023-03-06 09:39:09 -06:00
README.md Require to specify GITHUB_TOKEN for considering API limit 2023-02-23 04:44:03 +09:00
tsconfig.json Initial commit 2023-01-14 08:11:40 -06:00

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
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - run: shellcheck scripts/*.sh
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: jdxcode/rtx-action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      # .tool-versions will be read from repo root
      - run: node ./my_app.js