Skip to content

Commit

Permalink
Release v1.0.7 (#23)
Browse files Browse the repository at this point in the history
- ci: update GHA workflow with shared
- doc(changes): add Unreleased marker
- ci: add submodule .release
- test: require mocha >= 9
  • Loading branch information
msimerson authored Jun 5, 2022
1 parent a0b3914 commit b9b2180
Show file tree
Hide file tree
Showing 13 changed files with 102 additions and 155 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-type: production
36 changes: 0 additions & 36 deletions .github/workflows/ci-test-win.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/ci-test.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on: [ push ]

env:
CI: true

jobs:

lint:
uses: haraka/.github/.github/workflows/lint.yml@master

# coverage:
# uses: haraka/.github/.github/workflows/coverage.yml@master
# secrets: inherit

test:
needs: [ lint, get-lts ]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node-version: ${{ fromJson(needs.get-lts.outputs.active) }}
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test

get-lts:
runs-on: ubuntu-latest
steps:
- id: get
uses: msimerson/node-lts-versions@v1
outputs:
active: ${{ steps.get.outputs.active }}
lts: ${{ steps.get.outputs.lts }}
13 changes: 13 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '18 7 * * 4'

jobs:
codeql:
uses: haraka/.github/.github/workflows/codeql.yml@master
32 changes: 0 additions & 32 deletions .github/workflows/lint.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/master.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: publish

on:
push:
branches:
- master

env:
CI: true

jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".release"]
path = .release
url = [email protected]:msimerson/.release.git
1 change: 1 addition & 0 deletions .release
Submodule .release added at 9be2b2
14 changes: 14 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@

### Unreleased


### [1.0.7] - 2022-06-05

- ci: update GHA workflow with shared
- doc(changes): add Unreleased marker
- ci: add submodule .release
- test: require mocha >= 9


### 1.0.6 - 2021-11-10

- bump eslint 6 -> 8
Expand Down Expand Up @@ -33,3 +44,6 @@
### 1.0.0 - 2017-07-27

- import from Haraka


[1.0.7]: https://github.com/haraka/haraka-plugin-p0f/releases/tag/1.0.7
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Build Status][ci-img]][ci-url]
[![Code Climate][clim-img]][clim-url]
[![Windows Build Status][ci-win-img]][ci-win-url]
[![NPM][npm-img]][npm-url]

# haraka-plugin-p0f
Expand Down Expand Up @@ -60,12 +59,8 @@ In the contrib/bsd-rc.d directory is a startup file for FreeBSD.


<!-- leave these buried at the bottom of the document -->
[ci-img]: https://github.com/haraka/haraka-plugin-p0f/workflows/Tests/badge.svg
[ci-url]: https://github.com/haraka/haraka-plugin-p0f/actions?query=workflow%3ATests
[ci-win-img]: https://github.com/haraka/haraka-plugin-p0f/workflows/Tests%20-%20Windows/badge.svg
[ci-win-url]: https://github.com/haraka/haraka-plugin-p0f/actions?query=workflow%3A%22Tests+-+Windows%22
[cov-img]: https://codecov.io/github/haraka/haraka-plugin-p0f/coverage.svg
[cov-url]: https://codecov.io/github/haraka/haraka-plugin-p0f
[ci-img]: https://github.com/haraka/haraka-plugin-p0f/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/haraka/haraka-plugin-p0f/actions/workflows/ci.yml
[clim-img]: https://codeclimate.com/github/haraka/haraka-plugin-p0f/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/haraka-plugin-p0f
[npm-img]: https://nodei.co/npm/haraka-plugin-p0f.png
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "haraka-plugin-p0f",
"version": "1.0.6",
"version": "1.0.7",
"description": "Haraka plugin that adds TCP fingerprinting",
"main": "index.js",
"scripts": {
"cover": "NODE_ENV=cov npx nyc --reporter=lcovonly npm run test",
"lint": "npx eslint *.js test/*.js",
"lintfix": "npx eslint --fix *.js test/*.js",
"lint": "npx eslint *.js test",
"lintfix": "npx eslint --fix *.js test",
"test": "npx mocha"
},
"repository": {
Expand All @@ -28,7 +28,7 @@
"eslint": ">=8",
"eslint-plugin-haraka": "*",
"haraka-test-fixtures": "*",
"mocha": "*"
"mocha": ">=9"
},
"dependencies": {
"ipaddr.js": "^2.0.1"
Expand Down

0 comments on commit b9b2180

Please sign in to comment.