Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.2.1
version: v2.12.2
js-sdk-lint:
name: JS SDK Lint
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: Set up Node
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: Set up Node
uses: actions/setup-node@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: install dependencies
run: go mod tidy
- name: run unit tests
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: install dependencies
run: go mod tidy
- name: run smoke tests
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24.4"
go-version: "1.26.4"
- name: install dependencies
run: go mod tidy
- name: run regression tests
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV CI=true
RUN make admin-app

# Build the Go binary
FROM golang:1.24.4-alpine3.21 AS builder
FROM golang:1.26.4-alpine3.23 AS builder
RUN apk add --no-cache make
WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion billing/customer/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/raystack/frontier/billing"
"github.com/raystack/frontier/internal/metrics"

"golang.org/x/exp/slices"
"slices"

"github.com/raystack/frontier/pkg/metadata"

Expand Down
2 changes: 1 addition & 1 deletion billing/entitlement/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/raystack/frontier/billing/plan"

"golang.org/x/exp/slices"
"slices"

"github.com/raystack/frontier/billing/product"
"github.com/raystack/frontier/billing/subscription"
Expand Down
2 changes: 1 addition & 1 deletion billing/product/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/mcuadros/go-defaults"
"github.com/stripe/stripe-go/v79"

"golang.org/x/exp/slices"
"slices"

"github.com/google/uuid"
"github.com/raystack/frontier/pkg/utils"
Expand Down
2 changes: 1 addition & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/raystack/frontier/core/prospect"
"github.com/raystack/frontier/core/userpat"

"golang.org/x/exp/slices"
"slices"

"github.com/doug-martin/goqu/v9"
"github.com/jackc/pgx/v4"
Expand Down
3 changes: 1 addition & 2 deletions config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package config
import (
_ "embed"
"errors"
"io/ioutil"
"os"
"path/filepath"

Expand Down Expand Up @@ -31,7 +30,7 @@ func Init(configFile string) error {
}
}

if err := ioutil.WriteFile(configFile, data, 0655); err != nil {
if err := os.WriteFile(configFile, data, 0655); err != nil {
return err
}

Expand Down
2 changes: 1 addition & 1 deletion core/audit/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"golang.org/x/exp/slices"
"slices"

"github.com/raystack/frontier/internal/bootstrap/schema"
)
Expand Down
2 changes: 1 addition & 1 deletion core/audit/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package audit
import (
"context"

"golang.org/x/exp/slices"
"slices"

"github.com/google/uuid"
"github.com/raystack/frontier/core/webhook"
Expand Down
2 changes: 1 addition & 1 deletion core/authenticate/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

"github.com/raystack/frontier/core/audit"

"golang.org/x/exp/slices"
"slices"

frontiersession "github.com/raystack/frontier/core/authenticate/session"
"github.com/raystack/frontier/core/serviceuser"
Expand Down
2 changes: 1 addition & 1 deletion core/preference/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package preference
import (
"strings"

"golang.org/x/exp/slices"
"slices"
)

type PreferenceValidator interface {
Expand Down
2 changes: 1 addition & 1 deletion core/webhook/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/raystack/frontier/pkg/server/consts"

"golang.org/x/exp/slices"
"slices"

frontierv1beta1 "github.com/raystack/frontier/proto/v1beta1"
"google.golang.org/protobuf/encoding/protojson"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/raystack/frontier

go 1.24.0
go 1.26.4

require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1
Expand Down
3 changes: 1 addition & 2 deletions internal/store/blob/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package blob
import (
"context"
"fmt"
"io/ioutil"
"net/url"
"os"
"strings"
Expand Down Expand Up @@ -45,7 +44,7 @@ func NewStore(ctx context.Context, storagePath, storageSecret string) (Bucket, e
}
case "file":
{
fileContent, err := ioutil.ReadFile(parsedSecretURL.Path)
fileContent, err := os.ReadFile(parsedSecretURL.Path)
if err != nil {
return nil, errors.Wrap(err, "failed to read secret content at "+parsedSecretURL.Path)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"golang.org/x/exp/slices"
"slices"

"github.com/raystack/frontier/core/organization"
"github.com/raystack/frontier/pkg/utils"
Expand Down
3 changes: 2 additions & 1 deletion internal/store/postgres/org_billing_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import (
"fmt"
"strings"

"slices"

"github.com/doug-martin/goqu/v9"
"github.com/jmoiron/sqlx"
svc "github.com/raystack/frontier/core/aggregates/orgbilling"
"github.com/raystack/frontier/core/organization"
"github.com/raystack/frontier/pkg/db"
"github.com/raystack/salt/rql"
"golang.org/x/exp/slices"
)

const (
Expand Down
3 changes: 1 addition & 2 deletions pkg/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"

Expand All @@ -31,7 +30,7 @@ func DirExists(path string) bool {
// File extension matters, only file with extension
// json, yaml, or yml that is parsable
func Parse(filePath string, v interface{}) error {
b, err := ioutil.ReadFile(filePath)
b, err := os.ReadFile(filePath)
if err != nil {
return err
}
Expand Down
3 changes: 2 additions & 1 deletion pkg/utils/rql.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"fmt"
"strings"

"slices"

"github.com/doug-martin/goqu/v9"
frontierv1beta1 "github.com/raystack/frontier/proto/v1beta1"
"github.com/raystack/salt/rql"
"golang.org/x/exp/slices"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/regression/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/raystack/frontier/pkg/utils"

"golang.org/x/exp/slices"
"slices"

"github.com/raystack/frontier/pkg/server"

Expand Down
Loading