init
This commit is contained in:
47
.github/ISSUE_TEMPLATE/defect.yml
vendored
Normal file
47
.github/ISSUE_TEMPLATE/defect.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
name: Defect
|
||||
description: Report a defect, such as a bug or regression.
|
||||
labels:
|
||||
- defect
|
||||
body:
|
||||
- type: textarea
|
||||
id: observed
|
||||
attributes:
|
||||
label: Observed behavior
|
||||
description: Describe the unexpected behavior or performance regression you are observing.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: Describe the expected behavior or performance characteristics.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: versions
|
||||
attributes:
|
||||
label: Server and client version
|
||||
description: |-
|
||||
Provide the versions you were using when the detect was observed.
|
||||
For the server, use `nats-server --version`, check the startup log output, or the image tag pulled from Docker.
|
||||
For the CLI client, use `nats --version`.
|
||||
For language-specific clients, check the version downloaded by the language dependency manager.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: environment
|
||||
attributes:
|
||||
label: Host environment
|
||||
description: |-
|
||||
Specify any relevant details about the host environment the server and/or client was running in,
|
||||
such as operating system, CPU architecture, container runtime, etc.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: steps
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: Provide as many concrete steps to reproduce the defect.
|
||||
validations:
|
||||
required: false
|
||||
28
.github/ISSUE_TEMPLATE/proposal.yml
vendored
Normal file
28
.github/ISSUE_TEMPLATE/proposal.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: Proposal
|
||||
description: Propose an enhancement or new feature.
|
||||
labels:
|
||||
- proposal
|
||||
body:
|
||||
- type: textarea
|
||||
id: change
|
||||
attributes:
|
||||
label: Proposed change
|
||||
description: This could be a behavior change, enhanced API, or a new feature.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: usecase
|
||||
attributes:
|
||||
label: Use case
|
||||
description: What is the use case or general motivation for this proposal?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: contribute
|
||||
attributes:
|
||||
label: Contribution
|
||||
description: |-
|
||||
Are you intending or interested in contributing code for this proposal if accepted?
|
||||
validations:
|
||||
required: false
|
||||
40
.github/workflows/ci.yml
vendored
Normal file
40
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, release/*, feature/* ]
|
||||
pull_request:
|
||||
branches: [ main, release/* ]
|
||||
|
||||
jobs:
|
||||
macos:
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install nats-server
|
||||
run: curl --fail https://binaries.nats.dev/nats-io/nats-server/v2@latest | PREFIX='/usr/local/bin' sh
|
||||
- name: Check nats-server version
|
||||
run: nats-server -v
|
||||
- name: List schemes
|
||||
run: xcodebuild -list
|
||||
- name: Build
|
||||
run: xcodebuild build -scheme Nats -destination 'platform=macOS,arch=x86_64'
|
||||
- name: Test
|
||||
run: swift test
|
||||
ios:
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: xcodebuild build -scheme Nats -destination generic/platform=ios
|
||||
check-linter:
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install swift-format
|
||||
run: brew install swift-format
|
||||
- name: Run check
|
||||
run: swift-format lint --configuration .swift-format -r --strict Sources Tests
|
||||
Reference in New Issue
Block a user