github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/pkg/releases/releases_test.go (about)

     1  //go:build githubapi
     2  // +build githubapi
     3  
     4  package releases
     5  
     6  import (
     7  	"context"
     8  	"testing"
     9  
    10  	"github.com/stretchr/testify/require"
    11  )
    12  
    13  func TestReleases(t *testing.T) {
    14  	release, err := GetLatestRelease(context.Background())
    15  	require.NoError(t, err)
    16  	require.NotNil(t, release)
    17  }