diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 75c7de4..35fccf7 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -9,11 +9,13 @@ 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 @@ -21,12 +23,6 @@ jobs: 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: