Skip to content

Commit 697fbbb

Browse files
committed
Update README and configs for v0.2.0
Also moving default branch from master to main.
1 parent 40d17ee commit 697fbbb

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/workflows/swiftlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: SwiftLint
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
paths:
88
- '.github/workflows/swiftlint.yml'
@@ -14,6 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: SwiftLint
17-
uses: norio-nomura/action-swiftlint@3.1.0
17+
uses: norio-nomura/action-swiftlint@3.2.1
1818
with:
1919
args: --strict

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Tests
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
branches:
8-
- master
8+
- main
99
jobs:
1010
macOS:
1111
name: macOS
@@ -25,16 +25,16 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- name: Setup
2727
run: |
28-
export API_URL="https://swiftenv-api.fuller.li/versions?snapshot=false&platform=ubuntu18.04"
28+
export API_URL="https://swiftenv-api.fuller.li/versions?snapshot=false&platform=ubuntu20.04"
2929
export SWIFT_VERSION="$(curl -H 'Accept: text/plain' "$API_URL" | tail -n1)"
3030
3131
git clone --depth 1 https://github.com/kylef/swiftenv.git ~/.swiftenv
3232
export SWIFTENV_ROOT="$HOME/.swiftenv"
3333
export PATH="$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH"
3434
swiftenv install -s
3535
36-
echo "::set-env name=SWIFT_VERSION::$SWIFT_VERSION"
37-
echo "::add-path::$SWIFTENV_ROOT/shims"
36+
echo "SWIFT_VERSION=$SWIFT_VERSION" >> $GITHUB_ENV
37+
echo "$SWIFTENV_ROOT/shims" >> $GITHUB_PATH
3838
- name: Version
3939
run: |
4040
swift --version

.jazzy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ swift_build_tool: spm
33
author: John Mueller
44
author_url: https://john-mueller.github.io/
55
module: Hyphenation
6-
module_version: v0.1.0
7-
copyright: © 2020 John Mueller
6+
module_version: v0.2.0
7+
copyright: © 2020-2021 John Mueller
88
github_url: https://github.com/john-mueller/Hyphenation/
99
min_acl: public
1010
theme: fullwidth

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Hyphenation is installed via the [Swift Package Manager](https://swift.org/packa
3737
let package = Package(
3838
...
3939
dependencies: [
40-
.package(url: "https://github.com/john-mueller/Hyphenation.git", from: "0.1.0")
40+
.package(url: "https://github.com/john-mueller/Hyphenation.git", from: "0.2.0")
4141
],
4242
...
4343
)
@@ -149,9 +149,8 @@ When filing an issue, please do your best to provide reproducable steps and an e
149149
In the case of a pull request, please take note of the following steps:
150150

151151
1. `swiftlint` should produce no warnings when run in the project directory. This is checked by CI, but I also recommend linting locally if possible (instructions for installation in the [SwiftLint repo](https://github.com/realm/SwiftLint#installation)).
152-
2. If you have added or renamed test cases, run `make generate-linuxmain` in the project directory. This will ensure all tests are run on both macOS and Linux.
153-
3. Make sure `make test` results in no errors. This runs the tests in the `HyphenationTests` and `ThreadSafetyTests` targets.
154-
4. If changing any internal implementations, please run `make bench` both with and without your changes, to check for any speed regressions. This runs the tests in the `PerformanceTests` target.
152+
2. Make sure `make test` results in no errors. This runs the tests in the `CorrectnessTests` and `ThreadSafetyTests` files.
153+
3. If changing any internal implementations, please run `make bench` both with and without your changes, to check for any speed regressions. This runs the tests in the `PerformanceTests` file.
155154

156155
## License
157156

0 commit comments

Comments
 (0)