Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Workflows #9

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: badrinathvm

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

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

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Info (please complete the following information):**
- Device: [e.g. Simulator / Real Device]
- OS: [e.g. iOS 13]
- Pod Version [e.g. 2.16]
- Xcode Version [e.g. 11] if applicable

**Additional context**
Add any other context about the problem here.
32 changes: 32 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Configuration for the-welcome-bot - https://github.com/bash-bot/the-welcome-bot

# Message for a new user who open an issue
issueOpen: >
Welcome to the project!
Thanks and congrats for opening your very first issue in this project.
You may submit a PR on the same if you like!
Hope you have a great time here :)

# Message for a new user who comments on an issue
issueComment: >
Welcome to the project!
Thanks and congrats for your very first comment on this project.
Checkout the ReadMe for more details on it.
Want to contribute? Make an issue or submit a PR.
Hope you have a great time here :)

# Message for a new user who opens a PR
prOpen: >
Welcome to the project!
Thankyou and congarts for your first PR on this project.
We will review it soon!
Till then you can checkout the ReadMe for more details on it.
Hope you have a great time here :)

# Default message for a new user
welcomeMessage: >
Welcome to the project! Feel free to explore it.
Checkout the ReadMe for more details on it.
Want to contribute? Make an issue or submit a PR.
You can check the contributing guides and code of conduct for the same.
Hope you have a great time here :)
39 changes: 39 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
## Description

Please include a summary of the change and which issue is fixed.

## Type of change

- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] This change requires a documentation update

## How Has This Been Tested

Please let us know if you have tested your PR and if we need to reproduce the issues. Also, please let us know if we need any relevant information for running the tests.

<ul>
<li> Unit Testing </li>
<li> UI Testing </li>
</ul>

## Test Configuration

<ul>
<li> Xcode version: </li>
<li> Device/Simulator </li>
<li> iOS version</li>
<li> MacOSX version</li>
</ul>

## Checklist:

For checklist items not applicable, mention NA in front of it with some comment if applicable.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] Add comments to code particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes before pushing the pull request
22 changes: 22 additions & 0 deletions .github/workflows/deploy_to_cocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: deploy_to_cocoapods

on:
push:
tags:
- 'deploy'

jobs:
build:

runs-on: macOS-latest

steps:
- uses: actions/checkout@v1

- name: Install Cocoapods
run: gem install cocoapods

# shortcut version
- uses: michaelhenry/[email protected]
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
20 changes: 20 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Swift

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]


jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
20 changes: 20 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: SwiftLint

on:
pull_request:
paths:
- '.github/workflows/swiftlint.yml'
- '.swiftlint.yml'
- '**/*.swift'

jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]
with:
args: --force-exclude
env:
DIFF_BASE: ${{ github.base_ref }}