Skip to content

chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 in /worker #449

chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 in /worker

chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 in /worker #449

Workflow file for this run

name: worker
on:
push:
branches:
- main
paths:
- 'worker/**/**'
- '.github/workflows/worker.yml'
pull_request:
branches:
- main
paths:
- 'worker/**/**'
- '.github/workflows/worker.yml'
jobs:
worker:
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v4
- name: Go setup
uses: actions/setup-go@v5
with:
go-version: 1.20.x
- name: Pack
run: |
cd worker
go get -t -d ./...
go test ./...
mkdir -p dist
CGO_ENABLED=0 GOOS=linux go build -o dist/main
cd dist
zip -r -9 scheduler-worker-v1.zip ./*
- name: Update
if: ${{ github.event_name == 'push' && github.ref_name == 'main' && env.AWS_REGION != '' }}
uses: kazimanzurrashid/aws-lambda-update-action@v2.0.3
with:
zip-file: ./worker/dist/scheduler-worker-v1.zip
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}