Skip to content

ci: add vars workflow #1

ci: add vars workflow

ci: add vars workflow #1

Workflow file for this run

name: vars
concurrency:
group: vars-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
paths:
- "vars/**"
- ".github/workflows/vars.yaml"
defaults:
run:
working-directory: ./vars
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.5'
- name: Run tests and generate coverage report
run: |
go test -race -coverpkg=./... ./...