File tree Expand file tree Collapse file tree 7 files changed +15
-69
lines changed
Expand file tree Collapse file tree 7 files changed +15
-69
lines changed Original file line number Diff line number Diff line change 1414 document :
1515 name : " Document"
1616 runs-on : ubuntu-latest
17+ if : ${{ github.triggering_actor != 'dependabot[bot]' }}
1718 defaults :
1819 run :
1920 shell : bash
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2022 PBS
3+ Copyright (c) 2023 PBS
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 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
2424module "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
4343If 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
4747Note, however that subtrees can be altered as desired within repositories.
4848
You can’t perform that action at this time.
0 commit comments