diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index 1e2f13a..b19eb73 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -14,6 +14,7 @@ jobs: document: name: "Document" runs-on: ubuntu-latest + if: ${{ github.triggering_actor != 'dependabot[bot]' }} defaults: run: shell: bash @@ -27,19 +28,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 diff --git a/LICENSE b/LICENSE index cf3c68d..1a25d3b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 PBS +Copyright (c) 2023 PBS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 4aaea67..2c38eb2 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Use this URL for the source of the module. See the usage examples below for more details. ```hcl -github.com/pbs/terraform-aws-rds-module?ref=0.3.21 +github.com/pbs/terraform-aws-rds-module?ref=x.y.z ``` ### Alternative Installation Methods @@ -28,7 +28,7 @@ Integrate this module like so: ```hcl module "rds" { - source = "github.com/pbs/terraform-aws-rds-module?ref=0.3.21" + source = "github.com/pbs/terraform-aws-rds-module?ref=x.y.z" # Required Parameters private_hosted_zone = "example.local" @@ -47,7 +47,7 @@ module "rds" { If this repo is added as a subtree, then the version of the module should be close to the version shown here: -`0.3.21` +`x.y.z` Note, however that subtrees can be altered as desired within repositories.