Skip to content

Commit

Permalink
Swapping asdf for rtx
Browse files Browse the repository at this point in the history
  • Loading branch information
yhakbar committed Oct 10, 2023
1 parent 74b319f commit 65a0caf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 65 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/document.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Cache asdf
id: asdf-cache
uses: actions/cache@v3
with:
path: ~/.asdf/
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}

- name: Setup asdf
if: steps.asdf-cache.outputs.cache-hit != 'true'
uses: asdf-vm/actions/install@v2
- name: Setup rtx
uses: jdx/rtx-action@v1

- name: "Generate documentation"
run: ./scripts/document.sh
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,8 @@ jobs:
- name: "Checkout"
uses: actions/checkout@main

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Cache asdf
id: asdf-cache
uses: actions/cache@v3
with:
path: ~/.asdf/
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}

- name: Setup asdf
if: steps.asdf-cache.outputs.cache-hit != 'true'
uses: asdf-vm/actions/install@v2
- name: Setup rtx
uses: jdx/rtx-action@v1

- name: "Format"
run: ./scripts/format.sh
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,8 @@ jobs:
- name: "Checkout"
uses: actions/checkout@main

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Cache asdf
id: asdf-cache
uses: actions/cache@v3
with:
path: ~/.asdf/
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}

- name: Setup asdf
if: steps.asdf-cache.outputs.cache-hit != 'true'
uses: asdf-vm/actions/install@v2
- name: Setup rtx
uses: jdx/rtx-action@v1

- name: "Lint"
run: ./scripts/lint.sh
15 changes: 2 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@main

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Cache asdf
id: asdf-cache
uses: actions/cache@v3
with:
path: ~/.asdf/
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}

- name: Setup asdf
if: steps.asdf-cache.outputs.cache-hit != 'true'
uses: asdf-vm/actions/install@v2
- name: Setup rtx
uses: jdx/rtx-action@v1

- name: "Run document script if necessary"
run: |
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,8 @@ jobs:
- name: "Checkout"
uses: actions/checkout@main

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

- name: Cache asdf
id: asdf-cache
uses: actions/cache@v3
with:
path: ~/.asdf/
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}

- name: Setup asdf
if: steps.asdf-cache.outputs.cache-hit != 'true'
uses: asdf-vm/actions/install@v2
- name: Setup rtx
uses: jdx/rtx-action@v1

- name: "Validate Module"
run: ./scripts/validate.sh

0 comments on commit 65a0caf

Please sign in to comment.