Skip to content

Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23 #59

Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23

Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23 #59

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go CI/CD
env:
AUTH_TOKEN: ${{secrets.AUTH_TOKEN}}
CT0: ${{secrets.CT0}}
permissions:
contents: write
on:
push:
branches: [ "master" ]
tags:
- "v*"
pull_request:
branches: [ "master" ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build for Win
if: ${{'windows-latest' == matrix.os}}
run: |
$env:GOARCH = "amd64"
$env:CGO_ENABLED = "1"
go build -o bin/tmd-${{ runner.os }}-amd64.exe -v -ldflags "-w -s" .
- name: Build for Unix
if: ${{'windows-latest' != matrix.os}}
run: |
GOARCH=amd64 CGO_ENABLED=1 go build -o bin/tmd-${{ runner.os }}-amd64 -v -ldflags "-w -s" .
- name: Test
if: ${{!startsWith(github.ref, 'refs/tags/v')}}
run: go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
if: ${{!startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'}}
run: go install github.com/mattn/goveralls@latest
- name: Update coverage
if: ${{!startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'}}
env:
COVERALLS_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
run: goveralls -coverprofile=covprofile -service=github
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: ./bin/*