Skip to content

fix(deps): update all minor dependencies #570

fix(deps): update all minor dependencies

fix(deps): update all minor dependencies #570

name: "CI Lambda"
on:
pull_request:
defaults:
run:
shell: bash
jobs:
go-tests:
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
container: golang:1.21.6@sha256:5f5d61dcb58900bc57b230431b6367c900f9982b583adcabf9fa93fd0aa5544a
services:
dynamodb-local:
image: "amazon/dynamodb-local@sha256:eb8d4a591efddfc7b9976dfacd90993433e6ed6a02bd64c7a1345f110c87cfd6"
ports:
- 8000:8000
local-kms:
image: nsmithuk/local-kms@sha256:c0d7ff506b4aa1c061ae6743cf292a99fb9ec1968a6e5f3a3272110925860501
ports:
- "8080:8080"
volumes:
- "${{ github.workspace }}/.devcontainer/docker/kms/data:/data/"
- "${{ github.workspace }}/.devcontainer/docker/kms/init:/init/"
env:
KMS_REGION: "ca-central-1"
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Restart local-kms
# Restart local-kms after volumes have been checked out
# https://github.com/orgs/community/discussions/42127
uses: docker://docker@sha256:3c5c38804aab5d3938ea3aa5be399276bbb3b8e04a5190183aa01be55641518c
with:
args: docker restart "${{ job.services.local-kms.id }}"
- name: Install dependencies
run: go get .
- name: Test
run: make test
env:
AWS_ACCESS_KEY_ID: "AWSACCESSKEYID"
AWS_SECRET_ACCESS_KEY: "AWSSECRETACCESSKEY"