-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
213 changed files
with
5,520 additions
and
2,000 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG GO_VERSION=1.20 | ||
ARG GO_VERSION=1.21 | ||
|
||
FROM golang:${GO_VERSION} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: "1.0" | ||
include: | ||
- "**features.yml" | ||
- "**features.yaml" | ||
- "**.features.yml" | ||
- "**.features.yaml" | ||
exclude: | ||
- internal/* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,13 @@ on: | |
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "logos/**" | ||
- "**.md" | ||
- "**.txt" | ||
pull_request: | ||
paths-ignore: | ||
- "logos/**" | ||
- "**.md" | ||
- "**.txt" | ||
workflow_dispatch: | ||
|
||
env: | ||
GO_VERSION: "1.21" | ||
DAGGER_VERSION: "0.8.3" | ||
|
||
jobs: | ||
test: | ||
name: "Tests (Go)" | ||
|
@@ -26,14 +22,14 @@ jobs: | |
|
||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "${{ vars.GO_VERSION }}" | ||
go-version: ${{ env.GO_VERSION }} | ||
check-latest: true | ||
cache: true | ||
|
||
- name: Install Dagger | ||
run: | | ||
cd /usr/local | ||
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=${{ vars.DAGGER_VERSION }} sh | ||
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=$DAGGER_VERSION sh | ||
- name: Install Mage | ||
uses: magefile/mage-action@v3 | ||
|
@@ -46,6 +42,23 @@ jobs: | |
- name: Upload Coverage | ||
uses: codecov/[email protected] | ||
|
||
test-darwin: | ||
name: "Tests (Go - Darwin)" | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
check-latest: true | ||
cache: true | ||
|
||
- name: Unit Test SQLite | ||
env: | ||
FLIPT_TEST_SHORT: "true" | ||
run: go test -v -count=1 -timeout=60s -short ./... | ||
|
||
ui: | ||
name: "Tests (UI)" | ||
runs-on: ubuntu-latest | ||
|
@@ -72,14 +85,14 @@ jobs: | |
|
||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "${{ vars.GO_VERSION }}" | ||
go-version: ${{ env.GO_VERSION }} | ||
check-latest: true | ||
cache: true | ||
|
||
- name: Install Dagger | ||
run: | | ||
cd /usr/local | ||
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=${{ vars.DAGGER_VERSION }} sh | ||
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=$DAGGER_VERSION sh | ||
- name: Install Mage | ||
uses: magefile/mage-action@v3 | ||
|
Oops, something went wrong.