Skip to content

Implement sess end workflow #12

Implement sess end workflow

Implement sess end workflow #12

Workflow file for this run

name: Build
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.25']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Get dependencies
run: go mod download
- name: Build
run: go build -v ./cmd/sess
- name: Run go vet
run: go vet ./...
- name: Run tests (when available)
run: go test -v ./...
continue-on-error: true # Don't fail build if no tests yet
- name: Upload build artifacts
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: sess-${{ github.sha }}
path: sess
retention-days: 7