chore(deps): update actions/checkout digest to 11bd719 #313
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: test | |
on: | |
pull_request: | |
merge_group: | |
env: | |
AWS_ACCESS_KEY_ID: "fake" | |
AWS_SECRET_ACCESS_KEY: "fake" | |
AWS_DEFAULT_REGION: us-east-1 | |
AWS_DYNAMODB_ENDPOINT_URL: http://localhost:8000 | |
GCS_ENDPOINT_URL: https://localhost:4443 | |
GCS_INSECURE_SKIP_VERIFY: "true" | |
jobs: | |
go-test: | |
strategy: | |
matrix: | |
go-version: | |
- stable | |
runs-on: ubuntu-latest | |
services: | |
dynamodb: | |
image: amazon/dynamodb-local@sha256:c8702bde709520b90930c20ee430d4123cd731da8e544cc4ccae0e2a78ee4fce | |
ports: | |
- 8000:8000 | |
fake-gcs-server: | |
image: ghcr.io/urcomputeringpal/label-mutex-fake-gcs-server:pr-12@sha256:5fdc1fd0914dfda02fef3e85a5b369cd96041ff6e8a57cc8796d264896fcf5ef | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
ports: | |
- 4443:4443 | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Create local table | |
run: ./hack/create-local-table.sh http://localhost:8000 | |
timeout-minutes: 1 | |
- name: Create local bucket | |
run: ./hack/create-local-bucket.sh localhost | |
timeout-minutes: 1 | |
- name: Test | |
run: go test -v ./... |