Skip to content

Add Wno-format-security to CFLAGS #125

Add Wno-format-security to CFLAGS

Add Wno-format-security to CFLAGS #125

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go-version: [ "1.20", "1.21" ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: build dot command
run: go build -v cmd/dot/dot.go
- name: test
if: ${{ matrix.os != 'windows-latest' }}
run: go test -race -v ./...