Skip to content

Commit 9aa4989

Browse files
author
piclaw
committed
Restructure: move src/ to root, add .github CI, set version 1.0.0
1 parent 6868831 commit 9aa4989

File tree

7 files changed

+44
-4
lines changed

7 files changed

+44
-4
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Thank you for opening an issue on an Adafruit Arduino library repository.
2+
3+
Please provide as much detail as possible:
4+
- Arduino IDE version:
5+
- Board:
6+
- Library version:
7+
- Description of problem:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Thank you for creating a pull request for this library!
2+
3+
Please describe what changes this PR makes and why it should be merged.

.github/workflows/clang-format.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: clang-format
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
formatting-check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Run clang-format
11+
uses: jidicula/clang-format-action@v4.13.0
12+
with:
13+
clang-format-version: '18'
14+
check-path: '.'
15+
exclude-regex: 'examples/.*'

.github/workflows/githubci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Arduino Library CI
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-python@v5
11+
with:
12+
python-version: '3.x'
13+
- uses: adafruit/ci-arduino@v1.6.1
14+
with:
15+
arduino-platform: 'arduino:avr,adafruit:samd,adafruit:nrf52,esp32:esp32'
File renamed without changes.

library.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name=Adafruit AS7331
2-
version=0.0.0
1+
name=Adafruit AS7331 Library
2+
version=1.0.0
33
author=Adafruit
44
maintainer=Adafruit <info@adafruit.com>
5-
sentence=Arduino library for AS7331 UV spectral sensor.
6-
paragraph=Arduino library for AS7331 UV spectral sensor.
5+
sentence=Arduino library for the AS7331 UV spectral sensor.
6+
paragraph=Supports UVA, UVB, UVC measurements with gain, integration time, and irradiance conversion.
77
category=Sensors
88
url=https://github.com/adafruit/Adafruit_AS7331
99
architectures=*

0 commit comments

Comments
 (0)