Skip to content

Resurrect library development #3

Resurrect library development

Resurrect library development #3

Workflow file for this run

name: CI/CD
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: read
pull-requests: read
checks: write
jobs:
test:
name: Acceptance Tests
strategy:
matrix:
go: [1.21, 1.22]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Download dependencies
run: go mod download
- name: Tidy dependencies
run: go mod tidy
- name: Run static analysis
uses: golangci/golangci-lint-action@v5
with:
version: v1.57
args: --timeout=5m
- name: Run unit tests
run: go test -v ./...