Skip to content

chore(deps): update all non-major github action dependencies #1042

chore(deps): update all non-major github action dependencies

chore(deps): update all non-major github action dependencies #1042

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.1@sha256:2fe82a3f3e006b4f2a316c6a21f62b66e1330ae211d039bb8d1128e12ed57bf1
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:8d5039800a368057d99fc0a75167d80f345ac8650850509adc7fe25c64cba9dd
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"