Skip to content

Commit 377f311

Browse files
committed
bump action version, feedback
1 parent 6e8727e commit 377f311

4 files changed

Lines changed: 31 additions & 18 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/check-binaries.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
report_contents: ${{ steps.save-output.outputs.report_contents }}
1616
steps:
1717
- name: Setup python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
with:
2020
python-version: '3.11'
2121
- name: Checkout code
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
with:
2424
ref: main
2525
- name: Download latest release
@@ -61,12 +61,14 @@ jobs:
6161
name: Save outputs for the check with the latest build
6262
id: save-new-version
6363
run: |
64-
if [ "${{ steps.check-new-version.outcome }}" == "failure" ]; then
64+
if [ "${CHECK_OUTCOME}" == "failure" ]; then
6565
fixed="No"
6666
else
6767
fixed="Yes"
6868
fi
6969
echo "fixed=$fixed" >> "$GITHUB_OUTPUT"
70+
env:
71+
CHECK_OUTCOME: ${{ steps.check-new-version.outcome }}
7072
- if: always() && steps.save-output.outputs.report_contents
7173
name: Create GitHub Issue indicating vulnerabilities
7274
id: create-issue
@@ -75,10 +77,13 @@ jobs:
7577
--title "CVEs found in latest RIE release" \
7678
--body "### CVEs found in latest RIE release
7779
\`\`\`
78-
${{ steps.save-output.outputs.report_contents }}
80+
${REPORT_CONTENTS}
7981
\`\`\`
8082
81-
#### Are these resolved by building with the latest patch version of Go (${{ steps.check-new-version.outputs.latest_version }})?:
82-
> **${{ steps.save-new-version.outputs.fixed }}**"
83+
#### Are these resolved by building with the latest patch version of Go (${LATEST_VERSION})?:
84+
> **${FIXED}**"
8385
env:
8486
GH_TOKEN: ${{ github.token }}
87+
REPORT_CONTENTS: ${{ steps.save-output.outputs.report_contents }}
88+
LATEST_VERSION: ${{ steps.check-new-version.outputs.latest_version }}
89+
FIXED: ${{ steps.save-new-version.outputs.fixed }}

.github/workflows/integ-tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,32 @@ jobs:
1313
go-tests:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- name: run go tests
1818
run: make tests-with-docker
1919
integ-tests-x86:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
23-
- uses: actions/setup-python@v5
22+
- uses: actions/checkout@v6
23+
- uses: actions/setup-python@v6
2424
with:
2525
python-version: '3.11'
2626
- name: run integration tests
2727
run: make integ-tests-with-docker-x86-64
2828
integ-tests-arm64:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/setup-python@v5
31+
- uses: actions/checkout@v6
32+
- uses: actions/setup-python@v6
3333
with:
3434
python-version: '3.11'
3535
- name: run integration tests
3636
run: make integ-tests-with-docker-arm64
3737
integ-tests-old:
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@v4
41-
- uses: actions/setup-python@v5
40+
- uses: actions/checkout@v6
41+
- uses: actions/setup-python@v6
4242
with:
4343
python-version: '3.11'
4444
- name: run integration tests

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
environment: Release
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
ref: main
2525
- name: Set up python
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: '3.11'
2929
- name: Build
@@ -34,11 +34,13 @@ jobs:
3434
make integ-tests
3535
- name: Release
3636
run: |
37-
gh release create "v${{ github.event.inputs.releaseVersion }}" \
38-
--title "Release ${{ github.event.inputs.releaseVersion }}" \
39-
--notes "${{ github.event.inputs.releaseBody }}" \
37+
gh release create "v${RELEASE_VERSION}" \
38+
--title "Release ${RELEASE_VERSION}" \
39+
--notes "${RELEASE_BODY}" \
4040
bin/aws-lambda-rie \
4141
bin/aws-lambda-rie-arm64 \
4242
bin/aws-lambda-rie-x86_64
4343
env:
4444
GH_TOKEN: ${{ github.token }}
45+
RELEASE_VERSION: ${{ github.event.inputs.releaseVersion }}
46+
RELEASE_BODY: ${{ github.event.inputs.releaseBody }}

0 commit comments

Comments
 (0)