-
Notifications
You must be signed in to change notification settings - Fork 0
implement oauth 2.0 authorization code flow #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5fcb5ac
4cd4f8c
b2939c6
6590025
5fd7347
e72dbc6
6dfb671
238c975
07e27b4
69e9d95
b25125b
3311dd4
672135d
35caf13
e2df397
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
|
|
||
| name: Go tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| branches: [ main ] | ||
| workflow_dispatch: {} | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@v6 | ||
| with: | ||
| go-version: '1.24' | ||
|
|
||
| - name: Cache Go modules | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.cache/go-build | ||
| ~/go/pkg/mod | ||
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-go- | ||
|
|
||
| - name: Install dependencies | ||
| run: go mod download | ||
|
|
||
| - name: Run tests | ||
| run: go test ./... -v | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,4 +2,7 @@ DB_HOST= | |
| DB_USER= | ||
| DB_PASSWORD= | ||
| DB_NAME= | ||
| DB_PORT= | ||
| DB_PORT= | ||
| PORT= | ||
| GOOGLE_CLIENT_ID= | ||
| GOOGLE_CLIENT_SECRET= | ||
|
Comment on lines
+5
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add missing The 📝 Proposed addition DB_PORT=
PORT=
+COOKIE_SESSION_KEY=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=🧰 Tools🪛 dotenv-linter (4.0.0)[warning] 5-5: [UnorderedKey] The DB_PORT key should go before the DB_USER key (UnorderedKey) [warning] 7-7: [UnorderedKey] The GOOGLE_CLIENT_ID key should go before the PORT key (UnorderedKey) [warning] 8-8: [EndingBlankLine] No blank line at the end of the file (EndingBlankLine) [warning] 8-8: [UnorderedKey] The GOOGLE_CLIENT_SECRET key should go before the PORT key (UnorderedKey) 🤖 Prompt for AI Agents |
||
Uh oh!
There was an error while loading. Please reload this page.