Skip to content

chore: readme again

chore: readme again #8

name: "Go Dependency Submission"
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
go-action-detection:
name: Submit dependencies
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
module: ['plain', 'lambda']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
cache-dependency-path: ${{ matrix.module }}/go.sum
go-version-file: ${{ matrix.module }}/go.mod
- name: Run snapshot action
uses: actions/go-dependency-submission@v2
with:
go-mod-path: ${{ matrix.module }}/go.mod
go-build-target: ${{ matrix.module }}/main.go