Merge pull request #13 from saaste/12-fix-version #61
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
name: Go | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.21.3' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install dependencies | |
run: go get . | |
- name: Build | |
run: go build -v . | |
- name: Create test data directories | |
run: mkdir bookmarks/test_data && mkdir migrations/test_data | |
- name: Run tests | |
run: go test -v ./... | |
- name: Run static checks | |
uses: dominikh/[email protected] | |
with: | |
version: "2023.1.7" | |
install-go: false | |
min-go-version: ${{ matrix.go-version }} | |