Skip to content

docs: add README files for poutine, testine, mongodb driver with deta… #4

docs: add README files for poutine, testine, mongodb driver with deta…

docs: add README files for poutine, testine, mongodb driver with deta… #4

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- uses: actions/setup-go@v3
with:
go-version: 1.25
- name: Run tests
env:
TESTCONTAINERS_RYUK_DISABLED: "false"
run: go test -v -race ./...
release:
runs-on: ubuntu-latest
needs: test
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- uses: actions/setup-go@v3
with:
go-version: 1.25
- name: Semantic Release
uses: go-semantic-release/action@v1
with:
hooks: goreleaser
allow-initial-development-versions: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}