Skip to content

Add CloseWhenDone function #3

Add CloseWhenDone function

Add CloseWhenDone function #3

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths:
- '**'
- '!.github/**'
- '!.gitignore'
- '.github/workflows/test.yml'
workflow_dispatch:
jobs:
nix:
name: go test
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Nix
uses: cachix/install-nix-action@v16
- name: Check out code
uses: actions/checkout@v3
- name: Run tests
run: nix-shell --pure --run 'go test'
windows:
name: go test (Windows)
runs-on: windows-2022
steps:
- name: Install Go
uses: actions/[email protected]
with:
go-version: "1.19.1"
- name: Check out code
uses: actions/checkout@v3
- name: Run tests
run: go test