Databases tree view #929
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: Run Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
goVer: ["1.22"] | |
# Defines the platform for each test run. | |
runs-on: ${{ matrix.os }} | |
steps: | |
# Checks out our code locally so we can work with the files. | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# The steps that will be run through for each version and platform combination. | |
- name: Set up Go ${{ matrix.goVer }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.goVer }} | |
cache: true | |
# Runs go test ./... | |
- name: Test | |
run: go test -v -short ./... | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks out our code locally so we can work with the files. | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# Installs go using a single version. | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
cache: false | |
- name: Run linters | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 |