Skip to content

Tweaks

Tweaks #18

Workflow file for this run

name: General Tests
on: [push]
env:
GO_VERSION: "^1.21"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Run linter
uses: golangci/golangci-lint-action@v3
build:
name: Build
strategy:
matrix:
os: [ubuntu-latest, windows-2019, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Build NATS Server
run: go build