Skip to content

Commit

Permalink
Merge pipeline steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tbsklg committed Aug 15, 2024
1 parent d3ad83c commit 0fea587
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,20 @@ permissions:
contents: read
pull-requests: write
jobs:
build_and_test:
name: rust-lambdas
deploy-infrastructure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3

- name: Build rust lambda
- run: |
pip3 install cargo-lambda
rustup update stable && rustup default stable
cargo lambda build --arm64 --release
cargo test --verbose
working-directory: infrastructure/health
deploy-infrastructure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down

0 comments on commit 0fea587

Please sign in to comment.