Skip to content

Commit

Permalink
Merge pull request #34 from pbs/updates_from_template
Browse files Browse the repository at this point in the history
updates from template
  • Loading branch information
yhakbar authored Oct 10, 2023
2 parents af9ab8f + 9c86246 commit c1144ed
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 69 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/document.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
document:
name: "Document"
runs-on: ubuntu-latest
if: ${{ github.triggering_actor != 'dependabot[bot]' }}
defaults:
run:
shell: bash
Expand All @@ -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
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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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.

Expand Down

0 comments on commit c1144ed

Please sign in to comment.