Skip to content

Add session_duration to access policies & orgs #2579

Add session_duration to access policies & orgs

Add session_duration to access policies & orgs #2579

Workflow file for this run

on: [pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: ["1.18", "1.19", "1.20"]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go${{ matrix.go-version }}-${{ hashFiles('**/go.mod') }}-${{ hashFiles('**/go.sum') }}
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -race ./...