upgrade target server versions #234
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: unit-tests | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
go-version: [1.19.x, 1.20.x, 1.21.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Set env vars | |
run: | | |
echo "GOARCH=amd64" >> $GITHUB_ENV | |
echo "DB_HOST=127.0.0.1" >> $GITHUB_ENV | |
echo "UPPER_DB_LOG=ERROR" >> $GITHUB_ENV | |
- name: Run target | |
run: make test |