Skip to content

Merge pull request #177 from nakagami/revert-176-master #136

Merge pull request #177 from nakagami/revert-176-master

Merge pull request #177 from nakagami/revert-176-master #136

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.18', '1.19', '1.20']
steps:
- uses: actions/checkout@v3
- name: Set up Firebird
run: |
sudo apt install firebird3.0-server -y
sudo cp _attic/firebird.conf /etc/firebird/3.0
sudo systemctl restart firebird3.0
sudo chmod 0664 /etc/firebird/3.0/SYSDBA.password
grep '=' /etc/firebird/3.0/SYSDBA.password |sed 's/^/export /' >test_user.env
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Test
run: |
source test_user.env
go test -v ./...