Skip to content

Commit

Permalink
Maintenance: update GH Action versions (#33)
Browse files Browse the repository at this point in the history
Update versions of our github actions. This primarily updates
actions from Node 16 to Node 20.
  • Loading branch information
jesusaurus authored Apr 11, 2024
1 parent 7132c25 commit e7bf300
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/sam-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
using: "composite"
steps:
# Convert Pipfile.lock to requirements.txt for sam
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- run: pip install -U pipenv
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
BOOTSTRAP_BUCKET: bootstrap-awss3cloudformationbucket-19qromfd235z9
ESSENTIALS_BUCKET: essentials-awss3lambdaartifactsbucket-x29ftznj6pqw
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Install sam-cli and run "sam build"
- uses: ./.github/actions/sam-build

# authenticate with AWS via OIDC
- uses: aws-actions/configure-aws-credentials@v3
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::745159704268:role/sagebase-github-oidc-lambda-template-deploy-sageit
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1

pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- run: pip install -U pipenv
Expand All @@ -33,6 +33,6 @@ jobs:
sam-build-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/sam-build
- run: sam validate --lint --template .aws-sam/build/template.yaml

0 comments on commit e7bf300

Please sign in to comment.