Skip to content

[fix] do is not necessarily DML #792

[fix] do is not necessarily DML

[fix] do is not necessarily DML #792

Workflow file for this run

on: [push]
name: Go tests
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
Build-and-test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x, 1.23.x, 1.24.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...