Skip to content

Commit d95a29d

Browse files
Upgrade dependencies.
1 parent 7b4a5fb commit d95a29d

5 files changed

Lines changed: 66 additions & 62 deletions

File tree

.github/workflows/ci.yml

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,59 +3,59 @@ name: CI
33
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
6-
test:
7-
strategy:
8-
fail-fast: false
9-
matrix:
10-
os: [macos-latest, windows-latest, ubuntu-latest]
11-
sdk: ['3.8']
12-
runs-on: ${{ matrix.os }}
13-
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v5
17-
18-
- name: Set up Dart SDK
19-
uses: dart-lang/setup-dart@v1
20-
with:
21-
sdk: ${{ matrix.sdk }}
22-
23-
- name: Install lcov (macOS)
24-
if: matrix.os == 'macos-latest'
25-
run: brew install lcov
26-
27-
- name: Install lcov (Windows)
28-
if: matrix.os == 'windows-latest'
29-
run: |
30-
choco install lcov
31-
echo "C:\ProgramData\chocolatey\lib\lcov\tools\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
32-
33-
- name: Install lcov (Ubuntu)
34-
if: matrix.os == 'ubuntu-latest'
35-
run: sudo apt-get update && sudo apt-get install -y lcov
36-
37-
- name: Test without coverage report
38-
if: matrix.os != 'ubuntu-latest'
39-
run: make tests
40-
41-
- name: Test and generate coverage report
42-
if: matrix.os == 'ubuntu-latest'
43-
run: make tests_with_coverage_report
44-
45-
- name: Upload coverage to Coveralls
46-
if: matrix.os == 'ubuntu-latest' && matrix.sdk == '3.8'
47-
uses: coverallsapp/github-action@v2
48-
49-
format-markdown:
50-
runs-on: ubuntu-latest
51-
52-
steps:
53-
- name: Checkout
54-
uses: actions/checkout@v5
55-
56-
- name: Format Markdown with markdownlint
57-
run: |
58-
npm install -g markdownlint-cli
59-
markdownlint --disable MD013 MD033 --fix . --ignore CODE_OF_CONDUCT.md --ignore CHANGELOG.md
60-
git add -A
61-
git diff --cached --exit-code
6+
test:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [macos-latest, windows-latest, ubuntu-latest]
11+
sdk: ["3.9"]
12+
runs-on: ${{ matrix.os }}
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
18+
- name: Set up Dart SDK
19+
uses: dart-lang/setup-dart@v1
20+
with:
21+
sdk: ${{ matrix.sdk }}
22+
23+
- name: Install lcov (macOS)
24+
if: matrix.os == 'macos-latest'
25+
run: brew install lcov
26+
27+
- name: Install lcov (Windows)
28+
if: matrix.os == 'windows-latest'
29+
run: |
30+
choco install lcov
31+
echo "C:\ProgramData\chocolatey\lib\lcov\tools\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
32+
33+
- name: Install lcov (Ubuntu)
34+
if: matrix.os == 'ubuntu-latest'
35+
run: sudo apt-get update && sudo apt-get install -y lcov
36+
37+
- name: Test without coverage report
38+
if: matrix.os != 'ubuntu-latest'
39+
run: make tests
40+
41+
- name: Test and generate coverage report
42+
if: matrix.os == 'ubuntu-latest'
43+
run: make tests_with_coverage_report
44+
45+
- name: Upload coverage to Coveralls
46+
if: matrix.os == 'ubuntu-latest' && matrix.sdk == '3.9'
47+
uses: coverallsapp/github-action@v2
48+
49+
format-markdown:
50+
runs-on: ubuntu-latest
51+
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v5
55+
56+
- name: Format Markdown with markdownlint
57+
run: |
58+
npm install -g markdownlint-cli
59+
markdownlint --disable MD013 MD033 --fix . --ignore CODE_OF_CONDUCT.md --ignore CHANGELOG.md
60+
git add -A
61+
git diff --cached --exit-code

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.0.2
2+
3+
- Remove some redundant method calls.
4+
15
# v0.0.1
26

37
- Initial development release.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tests:
1010

1111
tests_with_coverage_report: tests
1212
rm -rf coverage/html
13-
genhtml --keep-going --function-coverage --branch-coverage coverage/lcov.info -o coverage/html
13+
genhtml --keep-going --ignore-errors inconsistent --function-coverage --branch-coverage coverage/lcov.info -o coverage/html

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Dart implementation of the IP address encryption and obfuscation methods speci
88

99
## Requirements
1010

11-
- **Dart SDK:** 3.8+
11+
- **Dart SDK:** 3.9+
1212

1313
## Overview
1414

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ipcrypt
22
description: A Dart library for IP address encryption and obfuscation.
3-
version: 0.0.1
3+
version: 0.0.2
44
repository: https://github.com/elliotwutingfeng/ipcrypt
55
funding:
66
- https://www.buymeacoffee.com/elliotwutingfeng
@@ -12,12 +12,12 @@ topics:
1212
- security
1313

1414
environment:
15-
sdk: ^3.8.0
15+
sdk: ^3.9.0
1616

1717
dependencies:
1818
pointycastle: ^4.0.0
1919

2020
dev_dependencies:
21-
coverage: ^1.14.1
21+
coverage: ^1.15.0
2222
lints: ^6.0.0
23-
test: ^1.26.2
23+
test: ^1.26.3

0 commit comments

Comments
 (0)