Skip to content

Commit 5f85547

Browse files
authored
chore(action): Update reproducible requirements in automated dependency update workflows (aws#8611)
* update reproducible in dependency update * remove * Update automated-updates-to-sam-cli.yml
1 parent 35eec76 commit 5f85547

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/automated-updates-to-sam-cli.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ jobs:
7272
repository: aws/aws-sam-cli
7373
path: aws-sam-cli
7474

75+
- uses: actions/setup-python@v6
76+
with:
77+
python-version: "3.11"
78+
79+
- name: Install uv
80+
uses: astral-sh/setup-uv@v7
81+
7582
- name: Update aws-sam-translator & commit
7683
run: |
7784
git config --global user.email "action@github.com"
@@ -86,6 +93,7 @@ jobs:
8693
git reset --hard develop
8794
sed -i "s/$SAM_T_PRE_VERSION/aws-sam-translator==$SAM_T_CUR_VERSION/g" requirements/base.txt
8895
cp -r ../serverless-application-model/tests/translator/input ./tests/functional/commands/validate/lib/models
96+
make update-reproducible-reqs-uv
8997
git status
9098
git diff --quiet && exit 0 # exit if there is no change
9199
echo "is_new_sam_t=1" >> $GITHUB_ENV # set env variable for next step run decision
@@ -123,6 +131,13 @@ jobs:
123131
repository: aws/aws-sam-cli
124132
path: aws-sam-cli
125133

134+
- uses: actions/setup-python@v6
135+
with:
136+
python-version: "3.11"
137+
138+
- name: Install uv
139+
uses: astral-sh/setup-uv@v7
140+
126141
- name: Upgrade aws_lambda_builders & commit
127142
run: |
128143
git config --global user.email "action@github.com"
@@ -136,6 +151,7 @@ jobs:
136151
echo "Lambda Builders pre version is $BUILDERS_PRE_VERSION"
137152
git reset --hard develop
138153
sed -i "s/$BUILDERS_PRE_VERSION/aws_lambda_builders==$BUILDERS_CUR_VERSION/g" requirements/base.txt
154+
make update-reproducible-reqs-uv
139155
git status
140156
git diff --quiet && exit 0 # exit if there is no change
141157
echo "is_new_lambda_builders=1" >> $GITHUB_ENV # set env variable for next step run decision

0 commit comments

Comments
 (0)