fix(deps): update all patch dependencies #1031
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.23.0@sha256:613a108a4a4b1dfb6923305db791a19d088f77632317cfc3446825c54fb862cd | |
services: | |
dynamodb-local: | |
image: "amazon/dynamodb-local@sha256:d7ebddeb60fa418bcda218a6c6a402a58441b2a20d54c9cb1d85fd5194341753" | |
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:d1d6d5265119696d8fa9b883f813953c560c5d87ea128a57681239b576f62997 | |
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" |