Skip to content

Commit 3c55665

Browse files
committed
Fix Fatal
1 parent ba38043 commit 3c55665

File tree

5 files changed

+13
-73
lines changed

5 files changed

+13
-73
lines changed

.github/workflows/CI.yaml

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,10 @@
11
name: CI
22
on:
3-
push:
4-
branches:
5-
- main
63
pull_request:
74
workflow_dispatch:
85
permissions:
96
checks: write
107
pull-requests: write
118
jobs:
12-
test:
13-
name: Run Tests
14-
runs-on: ${{ matrix.os }}
15-
strategy:
16-
fail-fast: false
17-
matrix:
18-
os: [ubuntu-latest, windows-latest, macOS-latest]
19-
steps:
20-
- uses: actions/checkout@v2
21-
- name: Install and cache PowerShell modules
22-
id: psmodulecache
23-
uses: potatoqualitee/[email protected]
24-
with:
25-
modules-to-cache: Pester:5.3.3, psake:4.9.0, BuildHelpers:2.0.16, PowerShellBuild:0.6.1, PSScriptAnalyzer:1.19.1
26-
shell: pwsh
27-
- name: Test
28-
shell: pwsh
29-
run: ./build.ps1 -Task Test -Bootstrap
30-
- name: Upload Unit Test Results
31-
if: always()
32-
uses: actions/upload-artifact@v2
33-
with:
34-
name: Unit Test Results (OS ${{ matrix.os }})
35-
path: ./tests/out/testResults.xml
36-
publish-test-results:
37-
name: "Publish Unit Tests Results"
38-
needs: test
39-
runs-on: ubuntu-latest
40-
# the test job might be skipped, we don't need to run this job then
41-
if: success() || failure()
42-
43-
steps:
44-
- name: Download Artifacts
45-
uses: actions/download-artifact@v2
46-
with:
47-
path: artifacts
48-
49-
- name: Publish Unit Test Results
50-
uses: EnricoMi/publish-unit-test-result-action@v2
51-
with:
52-
files: artifacts/**/*.xml
9+
ci:
10+
uses: HeyItsGilbert/.github/.github/workflows/ModuleCI.yml@main

.github/workflows/publish.yaml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,6 @@ on:
55
- main
66
workflow_dispatch:
77
jobs:
8-
publish:
9-
runs-on: windows-latest
10-
steps:
11-
# Get the current version
12-
- uses: actions/checkout@v3
13-
- name: Install and cache PowerShell modules
14-
id: psmodulecache
15-
uses: potatoqualitee/[email protected]
16-
with:
17-
modules-to-cache: BuildHelpers
18-
- shell: pwsh
19-
# Give an id to the step, so we can reference it later
20-
id: check_if_versions_bumped
21-
run: |
22-
[version]$GalleryVersion = Get-NextNugetPackageVersion -Name ChocoLogParse -ErrorAction Stop
23-
[version]$GithubVersion = Get-MetaData -Path ./ChocoLogParse/ChocoLogParse.psd1 -PropertyName ModuleVersion -ErrorAction Stop
24-
$bumped = $GithubVersion -ge $GalleryVersion
25-
26-
# Set the output named "version_bumped"
27-
Write-Host "::set-output name=version_bumped::$bumped"
28-
29-
- name: Publish to PSGallery
30-
shell: pwsh
31-
if: steps.check_if_versions_bumped.outputs.version_bumped == 'True'
32-
env:
33-
PSGALLERY_API_KEY: ${{ secrets.PS_GALLERY_KEY }}
34-
run: ./build.ps1 -Task Publish -Bootstrap
8+
build:
9+
uses: HeyItsGilbert/.github/.github/workflows/PublishModule.yml@main
10+
secrets: inherit

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [1.0.1] Add Missing Fatal
9+
10+
### Fixes
11+
12+
- Adds missing FATAL from log type by bumping Log4NetParse to 1.1.2.
13+
814
## [1.0.0] Handle Logs with Out of Order Threads
915

1016
### Added

ChocoLogParse/ChocoLogParse.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = "Log4NetParse"; ModuleVersion = "1.1.1"; })
54+
RequiredModules = @(@{ModuleName = "Log4NetParse"; ModuleVersion = "1.1.2"; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
# RequiredAssemblies = @()

requirements.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
Version = '1.19.1'
2222
}
2323
'Log4NetParse' = @{
24-
Version = '1.1.1'
24+
Version = '1.1.2'
2525
}
2626
}

0 commit comments

Comments
 (0)