Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
17 changes: 17 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Updown.io .NET Client - Environment Variables Example
# Copy this file to .env and fill in your actual values
# NEVER commit the .env file to version control

# Your Updown.io API key (get it from https://updown.io/settings/edit)
# Used for manual integration tests
UPDOWN_API_KEY=your-api-key-here

# Your pulse monitoring URL (from Updown.io dashboard)
# Format: https://pulse.updown.io/YOUR-TOKEN/YOUR-KEY
UPDOWN_PULSE_URL=https://pulse.updown.io/your-token/your-key

# Notes:
# - These values are only needed if you want to run manual tests against the real API
# - The automated unit tests do NOT require these values
# - For security, use separate API keys for development/testing vs production
# - This file (.env) is already in .gitignore and will not be committed
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/build-test-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ name: build, test, push nuget
on:
workflow_dispatch:
release:
branches: [ "main" ]
types: [released]

jobs:
Expand All @@ -16,10 +15,18 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Setup .NET
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,18 @@ FodyWeavers.xsd

# JetBrains Rider
*.sln.iml

# Secrets and API Keys
*.env
*.env.local
*secrets.json
*secrets*.json
appsettings.Development.json
appsettings.Local.json
TestConfiguration.json
TestSettings.json

# Manual test configuration (if using external config)
test/**/*Configuration.json
test/**/*Settings.json
!test/**/*Settings.Example.json
Loading
Loading