Reverted back to this repo being only for the react app, nothing else
This commit is contained in:
@@ -31,66 +31,11 @@ jobs:
|
||||
|
||||
- name: Run Tests
|
||||
run: npm test -- --watchAll=false
|
||||
|
||||
go-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
|
||||
- name: Build Go service
|
||||
working-directory: functions/go
|
||||
run: go build
|
||||
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Go function to AWS Lambda from this step."
|
||||
|
||||
rust-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Build Rust service
|
||||
working-directory: functions/rust
|
||||
run: cargo build --release
|
||||
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Rust function to AWS Lambda from this step."
|
||||
|
||||
python-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: functions/python
|
||||
run: pip3 install -r requirements.txt
|
||||
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Python function to AWS Lambda with Mangum from this step."
|
||||
|
||||
# Deployment (Waits for manual approval after all build jobs pass)
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [react-build, go-build, rust-build, python-build]
|
||||
needs: [react-build]
|
||||
environment: production
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user