Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develope'
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJos1220 committed Jul 4, 2024
2 parents 86a7d85 + 701ee91 commit 5aed556
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a bug report to help us improve
title: ''
labels: 'bug'

---

**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.

**Additional context**
Add any other context about the problem here.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
20 changes: 20 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PlatformIO Dependabot

on:
workflow_dispatch: # option to manually trigger the workflow
pull_request: # option to run on pull-request
schedule:
# Runs every day at 00:00
- cron: '0 0 * * *'

jobs:
dependabot:
runs-on: ubuntu-latest
name: run PlatformIO Dependabot
steps:
- name: Checkout
uses: actions/checkout@v3
- name: run PlatformIO Dependabot
uses: peterus/platformio_dependabot@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close stale issues and PR'
on:
schedule:
- cron: '30 6 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is marked as stale because it has been open 45 days with no activity. You can remove stale label or comment if this PR is still valid.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
days-before-stale: 30
days-before-close: 5
days-before-pr-close: -1
31 changes: 31 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PlatformIO CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Build PlatformIO Project Environment ESP8266 - ESP01-1M
run: pio run -e esp01_1m

- name: Build PlatformIO Project Environment ESP8266 - ESP12E
run: pio run -e esp12e
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

**Figure 1: Overview of the full assembly with Lightning Animation**

[![PlatformIO CI][build-shield]][build-url]
![License][license-url]
[![Contributors][contributors-shield]][contributors-url]
[![Release Version][realease-shield]][release-url]
[![Release Date][releasedate-shield]][releasedate-url]
Expand Down Expand Up @@ -177,8 +179,11 @@ Well, I like coffee ;) Maybe we got a deal?


<!-- MARKDOWN LINKS & IMAGES -->
[contributors-shield]: https://img.shields.io/github/contributors/JoJo1220/MinifigLightingSystem
[contributors-url]: https://github.com/JoJo1220/MinifigLightingSystem/graphs/contributors
[build-shield]: https://github.com/JoJos1220/MinifigLightingSystem/actions/workflows/workflow.yml/badge.svg
[build-url]: https://github.com/JoJos1220/MinifigLightingSystem/actions/workflows/workflow.yml
[license-url]:https://img.shields.io/github/license/Jojos1220/MinifigLightingSystem?style=flat-square
[contributors-shield]: https://img.shields.io/github/contributors/JoJos1220/MinifigLightingSystem
[contributors-url]: https://github.com/JoJos1220/MinifigLightingSystem/graphs/contributors
[realease-shield]: https://img.shields.io/github/release/JoJos1220/MinifigLightingSystem.svg?style=plastic
[release-url]: https://github.com/JoJos1220/MinifigLightingSystem/releases/latest
[releasedate-shield]: https://img.shields.io/github/release-date/JoJos1220/MinifigLightingSystem.svg?style=plastic
Expand Down
8 changes: 4 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ lib_ignore =
Adafruit_Neopixel_mock
Preferences_mock
lib_deps =
me-no-dev/ESP Async WebServer @ ^1.2.3
me-no-dev/ESP Async WebServer @ ^1.2.4
vshymanskyy/Preferences @ ^2.1.0
Makuna/NeoPixelBus @ ^2.7.8
Makuna/NeoPixelBus @ ^2.8.0

[env:esp12e]
platform = espressif8266
Expand Down Expand Up @@ -80,6 +80,6 @@ lib_ignore =
Adafruit_Neopixel_mock
Preferences_mock
lib_deps =
me-no-dev/ESP Async WebServer @ ^1.2.3
me-no-dev/ESP Async WebServer @ ^1.2.4
vshymanskyy/Preferences @ ^2.1.0
Makuna/NeoPixelBus @ ^2.7.8
Makuna/NeoPixelBus @ ^2.8.0

0 comments on commit 5aed556

Please sign in to comment.