Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkun61 committed Jul 5, 2020
0 parents commit c2b2a47
Show file tree
Hide file tree
Showing 11 changed files with 1,368 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
end_of_line = crlf
insert_final_newline = true
indent_style = space

[*.{psd1,psm1,ps1}]
charset = utf-8-bom
indent_size = 4

[*.yml]
indent_size = 2

[.github/**]
end_of_line = lf
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

# Describe the bug

A clear and concise description of what the bug is.

# To Reproduce

Steps to reproduce the behavior:

1. Run Cmdlet '…'
2. See error

# Expected behavior

A clear and concise description of what you expected to happen.

# Environment

- OS: [e.g. Windows 10 1909]
- PowerShell: [evaluate `$PSVersionTable`]
- Version: [e.g. 3.0]
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Question
about: Go to the Gitter for questions
title: ''
labels: ''
assignees: ''

---

Ask questions on the Gitter! Go to https://gitter.im/powershell-code-page/community.

Don't create issues for questions.
17 changes: 17 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: install

on: [push, pull_request]

jobs:
test-powershell:
name: Install it on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
with:
path: code-page
- name: Install it
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
Import-Module .\code-page
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: lint

on: [push, pull_request]

jobs:
lint:
name: Lint by PSScriptAnalyzer
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Install PSScriptAnalyzer
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
Install-Module PSScriptAnalyzer -Force
- name: Lint
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
Import-Module PSScriptAnalyzer
Invoke-ScriptAnalyzer . -Recurse -Severity Information -EnableExit
Loading

0 comments on commit c2b2a47

Please sign in to comment.