Skip to content

Commit

Permalink
Fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopgrassi committed Sep 12, 2024
1 parent 016ea1f commit bbd9537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/semconv-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "src/OpenTelemetry.SemanticConventions/**"

jobs:
run-dotnet-format:
run-semconv-checks:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/check-semconv-versions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $PsWeaverVersion = Select-String -Path $PowerShellScript -Pattern '\$GENERATOR_V
# Bash semconv version
$BashSemConvVersion = Select-String -Path $BashScript -Pattern 'SEMCONV_VERSION="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value }
# Bash weaver version
$BashWeaverVersion = Select-String -Path $BashScript -Pattern 'SEMCONV_VERSION="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value }
$BashWeaverVersion = Select-String -Path $BashScript -Pattern 'GENERATOR_VERSION="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value }

# Check if the semconv versions match
if ($PsSemConvVersion -ne $BashSemConvVersion) {
Expand Down

0 comments on commit bbd9537

Please sign in to comment.