fix(deps): update all minor dependencies #925
Workflow file for this run
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.22.4@sha256:c8736b8dbf2b12c98bb0eeed91eef58ecef52b8c2bd49b8044531e8d8d8d58e8 | |
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:766677799446842639ffa7b88249dc69406bcf5b6c5d9f31d45557654f44b6b1 | |
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" |