From 65a0caf40693f8e0c6a0286f4b43ae1081b03a49 Mon Sep 17 00:00:00 2001 From: Yousif Akbar <11247449+yhakbar@users.noreply.github.com> Date: Tue, 10 Oct 2023 09:00:45 -0400 Subject: [PATCH] Swapping asdf for rtx --- .github/workflows/document.yml | 15 ++------------- .github/workflows/format.yml | 15 ++------------- .github/workflows/lint.yml | 15 ++------------- .github/workflows/release.yml | 15 ++------------- .github/workflows/validate.yml | 15 ++------------- 5 files changed, 10 insertions(+), 65 deletions(-) diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index 1e2f13a..666a22d 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -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 diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a99c676..c0ff13c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 833cd2f..31981b3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6606c50..e35a8d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index cf021dd..91195a1 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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