Skip to content

Commit 4e94d00

Browse files
authored
Merge pull request #55 from pbs/updates_from_template
updates from template
2 parents f785644 + d5bd282 commit 4e94d00

File tree

7 files changed

+15
-69
lines changed

7 files changed

+15
-69
lines changed

.github/workflows/document.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
document:
1515
name: "Document"
1616
runs-on: ubuntu-latest
17+
if: ${{ github.triggering_actor != 'dependabot[bot]' }}
1718
defaults:
1819
run:
1920
shell: bash
@@ -27,19 +28,8 @@ jobs:
2728
env:
2829
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2930

30-
- name: Setup asdf
31-
uses: asdf-vm/actions/setup@v2
32-
33-
- name: Cache asdf
34-
id: asdf-cache
35-
uses: actions/cache@v3
36-
with:
37-
path: ~/.asdf/
38-
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}
39-
40-
- name: Setup asdf
41-
if: steps.asdf-cache.outputs.cache-hit != 'true'
42-
uses: asdf-vm/actions/install@v2
31+
- name: Setup rtx
32+
uses: jdx/rtx-action@v1
4333

4434
- name: "Generate documentation"
4535
run: ./scripts/document.sh

.github/workflows/format.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,8 @@ jobs:
2121
- name: "Checkout"
2222
uses: actions/checkout@main
2323

24-
- name: Setup asdf
25-
uses: asdf-vm/actions/setup@v2
26-
27-
- name: Cache asdf
28-
id: asdf-cache
29-
uses: actions/cache@v3
30-
with:
31-
path: ~/.asdf/
32-
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}
33-
34-
- name: Setup asdf
35-
if: steps.asdf-cache.outputs.cache-hit != 'true'
36-
uses: asdf-vm/actions/install@v2
24+
- name: Setup rtx
25+
uses: jdx/rtx-action@v1
3726

3827
- name: "Format"
3928
run: ./scripts/format.sh

.github/workflows/lint.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,8 @@ jobs:
1818
- name: "Checkout"
1919
uses: actions/checkout@main
2020

21-
- name: Setup asdf
22-
uses: asdf-vm/actions/setup@v2
23-
24-
- name: Cache asdf
25-
id: asdf-cache
26-
uses: actions/cache@v3
27-
with:
28-
path: ~/.asdf/
29-
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}
30-
31-
- name: Setup asdf
32-
if: steps.asdf-cache.outputs.cache-hit != 'true'
33-
uses: asdf-vm/actions/install@v2
21+
- name: Setup rtx
22+
uses: jdx/rtx-action@v1
3423

3524
- name: "Lint"
3625
run: ./scripts/lint.sh

.github/workflows/release.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,8 @@ jobs:
1010
- name: Checkout code
1111
uses: actions/checkout@main
1212

13-
- name: Setup asdf
14-
uses: asdf-vm/actions/setup@v2
15-
16-
- name: Cache asdf
17-
id: asdf-cache
18-
uses: actions/cache@v3
19-
with:
20-
path: ~/.asdf/
21-
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}
22-
23-
- name: Setup asdf
24-
if: steps.asdf-cache.outputs.cache-hit != 'true'
25-
uses: asdf-vm/actions/install@v2
13+
- name: Setup rtx
14+
uses: jdx/rtx-action@v1
2615

2716
- name: "Run document script if necessary"
2817
run: |

.github/workflows/validate.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,8 @@ jobs:
2121
- name: "Checkout"
2222
uses: actions/checkout@main
2323

24-
- name: Setup asdf
25-
uses: asdf-vm/actions/setup@v2
26-
27-
- name: Cache asdf
28-
id: asdf-cache
29-
uses: actions/cache@v3
30-
with:
31-
path: ~/.asdf/
32-
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}
33-
34-
- name: Setup asdf
35-
if: steps.asdf-cache.outputs.cache-hit != 'true'
36-
uses: asdf-vm/actions/install@v2
24+
- name: Setup rtx
25+
uses: jdx/rtx-action@v1
3726

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 PBS
3+
Copyright (c) 2023 PBS
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
### Using the Repo Source
66

77
```hcl
8-
github.com/pbs/terraform-aws-lambda-module?ref=1.3.29
8+
github.com/pbs/terraform-aws-lambda-module?ref=x.y.z
99
```
1010

1111
### Alternative Installation Methods
@@ -22,7 +22,7 @@ Integrate this module like so:
2222

2323
```hcl
2424
module "role" {
25-
source = "github.com/pbs/terraform-aws-lambda-module?ref=1.3.29"
25+
source = "github.com/pbs/terraform-aws-lambda-module?ref=x.y.z"
2626
2727
handler = "main"
2828
filename = "../artifacts/handler.zip"
@@ -42,7 +42,7 @@ module "role" {
4242

4343
If this repo is added as a subtree, then the version of the module should be close to the version shown here:
4444

45-
`1.3.29`
45+
`x.y.z`
4646

4747
Note, however that subtrees can be altered as desired within repositories.
4848

0 commit comments

Comments
 (0)