Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: miguelbalboa/rfid
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.4.4
Choose a base ref
...
head repository: miguelbalboa/rfid
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.github/ export-ignore
.gitattributes export-ignore
.gitignore export-ignore

.travis.yml export-ignore

doc/*.doc export-ignore

*.h text diff=cpp linguist-language=C++
*.ino text diff=cpp linguist-language=C++
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<!-- BEGIN - This is a comment just for you visible
Please use the following template to give us as mutch information as you can.
Please use the following template to give us as much information as you can.
Not used rows can be deleted.
Please create just PRs wiht fixes/typos or documentation updates; no extensions for other boards; no new examples. See development status.
END - This is a comment just for you visible -->

| Q | A
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
timezone: "Europe/Berlin"
time: "05:00"
labels:
- "github-actions-dependencies"
groups:
github-actions:
patterns:
- "*"
12 changes: 12 additions & 0 deletions .github/workflows/autoreview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: autoreview
on: [pull_request]

jobs:
misspellcheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run misspell with reviewdog
uses: reviewdog/action-misspell@v1
#with:
# pattern: "*.md"
63 changes: 63 additions & 0 deletions .github/workflows/test.platformio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: PlatformIO CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
max-parallel: 20
matrix:
boards: ['all']
example: [
ChangeUID,
DumpInfo,
firmware_check,
FixBrickedUID,
MifareClassicValueBlock,
MinimalInterrupt,
ReadUidMultiReader,
rfid_default_keys,
rfid_write_personal_data,
Ntag216_AUTH,
ReadNUID,
RFID-Cloner,
rfid_read_personal_data,
]
#include:
# - boards: 'avr_only'
# example: AccessControl

steps:
- uses: actions/checkout@v4
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v4
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v5
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO all Boards
if: ${{ contains(matrix.boards, 'all') }}
# test all
run: platformio ci --lib=. --board=uno --board=megaatmega1280 --board=due --board=zero --board=d1_mini
env:
PLATFORMIO_CI_SRC: examples/${{ matrix.example }}/${{ matrix.example }}.ino
- name: Run PlatformIO avr Boards
if: ${{ contains(matrix.boards, 'avr_only') }}
# test avr_only
run: platformio ci --lib=. --board=uno --board=megaatmega1280
env:
PLATFORMIO_CI_SRC: examples/${{ matrix.example }}/${{ matrix.example }}.ino
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

Loading