Skip to content

Commit

Permalink
Added info on workflows
Browse files Browse the repository at this point in the history
Updates on github-actions
  • Loading branch information
BFT\a.rogalskii committed Jun 23, 2021
1 parent 635c013 commit cbfc88d
Show file tree
Hide file tree
Showing 9 changed files with 372 additions and 108 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Publish docs via GitHub Pages

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/docs/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: python3 -m pip install mkdocs mkdocs-material fontawesome_markdown mkdocs-redirects markdown-include

- run: mkdocs build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
4 changes: 4 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

git cz --hook --non-interactive --type=feat --subject="added new features" || true
9 changes: 9 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.dependabot
.github
.husky
.idea
docs
images
node_modules
reports
scripts
24 changes: 24 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"extends": "stylelint-config-standard",
"plugins": ["stylelint-order", "stylelint-scss"],
"rules": {
"indentation": 4,
"at-rule-empty-line-before": null,
"color-hex-length": null,
"no-descending-specificity": null,
"rule-empty-line-before": null,
"selector-list-comma-newline-after": null,
"declaration-block-trailing-semicolon": null,
"block-closing-brace-empty-line-before": null,
"number-no-trailing-zeros": null,
"number-leading-zero": null,
"comment-empty-line-before": null,
"length-zero-no-unit": null,
"value-keyword-case": null,
"comment-whitespace-inside": null,
"declaration-empty-line-before": null,
"max-empty-lines": null,
"no-duplicate-selectors": null,
"selector-pseudo-element-colon-notation": null
}
}
76 changes: 2 additions & 74 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,80 +1,8 @@
# Changelog
# [0.0.0](https://github.com/AlexRogalskiy/scala-patterns/compare/v1.0.1...v0.0.0) (2021-06-23)

## [Unreleased](https://github.com/AlexRogalskiy/scala-patterns/tree/HEAD)

[Full Changelog](https://github.com/AlexRogalskiy/scala-patterns/compare/1.0.1...HEAD)

**Merged pull requests:**
## [1.0.1](https://github.com/AlexRogalskiy/scala-patterns/compare/1.0.1...v1.0.1) (2021-02-18)

- github-actions: bump wagoid/commitlint-github-action from v2.2.3 to v2.2.5 [\#52](https://github.com/AlexRogalskiy/scala-patterns/pull/52) ([dependabot[bot]](https://github.com/apps/dependabot))
- :arrow\_up: Updates wagoid/commitlint-github-action action to v2.2.5 [\#50](https://github.com/AlexRogalskiy/scala-patterns/pull/50) ([renovate[bot]](https://github.com/apps/renovate))

## [1.0.1](https://github.com/AlexRogalskiy/scala-patterns/tree/1.0.1) (2021-02-18)

[Full Changelog](https://github.com/AlexRogalskiy/scala-patterns/compare/v1...1.0.1)

## [v1](https://github.com/AlexRogalskiy/scala-patterns/tree/v1) (2021-02-18)

[Full Changelog](https://github.com/AlexRogalskiy/scala-patterns/compare/v1.0...v1)

## [v1.0](https://github.com/AlexRogalskiy/scala-patterns/tree/v1.0) (2021-02-18)

[Full Changelog](https://github.com/AlexRogalskiy/scala-patterns/compare/v1.0.1...v1.0)

## [v1.0.1](https://github.com/AlexRogalskiy/scala-patterns/tree/v1.0.1) (2021-02-18)

[Full Changelog](https://github.com/AlexRogalskiy/scala-patterns/compare/2bb18ca08f7361036a785ade3523587bf87d465a...v1.0.1)

**Closed issues:**

- text [\#3](https://github.com/AlexRogalskiy/scala-patterns/issues/3)

**Merged pull requests:**

- github-actions: bump wagoid/commitlint-github-action from v2.1.7 to v2.2.3 [\#49](https://github.com/AlexRogalskiy/scala-patterns/pull/49) ([dependabot[bot]](https://github.com/apps/dependabot))
- :arrow\_up: Updates Matticusau/pr-helper action to v1.2.5 [\#48](https://github.com/AlexRogalskiy/scala-patterns/pull/48) ([renovate[bot]](https://github.com/apps/renovate))
- github-actions: bump Matticusau/pr-helper from v1.2.4 to v1.2.5 [\#47](https://github.com/AlexRogalskiy/scala-patterns/pull/47) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: bump JamesIves/github-pages-deploy-action from 3.7.1 to 4.0.0 [\#45](https://github.com/AlexRogalskiy/scala-patterns/pull/45) ([dependabot[bot]](https://github.com/apps/dependabot))
- :arrow\_up: Updates JamesIves/github-pages-deploy-action action to v4 [\#44](https://github.com/AlexRogalskiy/scala-patterns/pull/44) ([renovate[bot]](https://github.com/apps/renovate))
- github-actions: bump actions/cache from v2 to v2.1.4 [\#43](https://github.com/AlexRogalskiy/scala-patterns/pull/43) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: bump mondeja/remove-labels-gh-action from v1.0.0 to v1 [\#41](https://github.com/AlexRogalskiy/scala-patterns/pull/41) ([dependabot[bot]](https://github.com/apps/dependabot))
- Main [\#37](https://github.com/AlexRogalskiy/scala-patterns/pull/37) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#36](https://github.com/AlexRogalskiy/scala-patterns/pull/36) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#35](https://github.com/AlexRogalskiy/scala-patterns/pull/35) ([github-actions[bot]](https://github.com/apps/github-actions))
- Main [\#34](https://github.com/AlexRogalskiy/scala-patterns/pull/34) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- Auto Compress Images [\#33](https://github.com/AlexRogalskiy/scala-patterns/pull/33) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#32](https://github.com/AlexRogalskiy/scala-patterns/pull/32) ([github-actions[bot]](https://github.com/apps/github-actions))
- Merge pull request \#30 from AlexRogalskiy/master [\#31](https://github.com/AlexRogalskiy/scala-patterns/pull/31) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#30](https://github.com/AlexRogalskiy/scala-patterns/pull/30) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#29](https://github.com/AlexRogalskiy/scala-patterns/pull/29) ([github-actions[bot]](https://github.com/apps/github-actions))
- Merge pull request \#27 from AlexRogalskiy/master [\#28](https://github.com/AlexRogalskiy/scala-patterns/pull/28) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#27](https://github.com/AlexRogalskiy/scala-patterns/pull/27) ([github-actions[bot]](https://github.com/apps/github-actions))
- Auto Compress Images [\#26](https://github.com/AlexRogalskiy/scala-patterns/pull/26) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#25](https://github.com/AlexRogalskiy/scala-patterns/pull/25) ([github-actions[bot]](https://github.com/apps/github-actions))
- Merge pull request \#23 from AlexRogalskiy/master [\#24](https://github.com/AlexRogalskiy/scala-patterns/pull/24) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#23](https://github.com/AlexRogalskiy/scala-patterns/pull/23) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#22](https://github.com/AlexRogalskiy/scala-patterns/pull/22) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#21](https://github.com/AlexRogalskiy/scala-patterns/pull/21) ([github-actions[bot]](https://github.com/apps/github-actions))
- Update actions/checkout action to v2 [\#20](https://github.com/AlexRogalskiy/scala-patterns/pull/20) ([renovate[bot]](https://github.com/apps/renovate))
- Merge pull request \#18 from AlexRogalskiy/master [\#19](https://github.com/AlexRogalskiy/scala-patterns/pull/19) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#18](https://github.com/AlexRogalskiy/scala-patterns/pull/18) ([github-actions[bot]](https://github.com/apps/github-actions))
- github-actions: bump Dunning-Kruger/unlock-issues from v1 to v1.1 [\#17](https://github.com/AlexRogalskiy/scala-patterns/pull/17) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: bump actions/setup-node from v1 to v2.1.4 [\#16](https://github.com/AlexRogalskiy/scala-patterns/pull/16) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: bump dessant/lock-threads from v2.0.1 to v2.0.3 [\#15](https://github.com/AlexRogalskiy/scala-patterns/pull/15) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: bump prologic/action-remark-lint from v0.0.5 to v2 [\#14](https://github.com/AlexRogalskiy/scala-patterns/pull/14) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: bump wagoid/commitlint-github-action from v1.6.0 to v2.1.7 [\#13](https://github.com/AlexRogalskiy/scala-patterns/pull/13) ([dependabot[bot]](https://github.com/apps/dependabot))
- github-actions: update actions/github-script requirement to v3.1 [\#12](https://github.com/AlexRogalskiy/scala-patterns/pull/12) ([dependabot[bot]](https://github.com/apps/dependabot))
- Configure Renovate [\#11](https://github.com/AlexRogalskiy/scala-patterns/pull/11) ([renovate[bot]](https://github.com/apps/renovate))
- sync: master to main [\#10](https://github.com/AlexRogalskiy/scala-patterns/pull/10) ([github-actions[bot]](https://github.com/apps/github-actions))
- Main [\#9](https://github.com/AlexRogalskiy/scala-patterns/pull/9) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#8](https://github.com/AlexRogalskiy/scala-patterns/pull/8) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#7](https://github.com/AlexRogalskiy/scala-patterns/pull/7) ([github-actions[bot]](https://github.com/apps/github-actions))
- Main [\#6](https://github.com/AlexRogalskiy/scala-patterns/pull/6) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- sync: master to main [\#5](https://github.com/AlexRogalskiy/scala-patterns/pull/5) ([github-actions[bot]](https://github.com/apps/github-actions))
- sync: master to main [\#4](https://github.com/AlexRogalskiy/scala-patterns/pull/4) ([github-actions[bot]](https://github.com/apps/github-actions))
- Master [\#2](https://github.com/AlexRogalskiy/scala-patterns/pull/2) ([AlexRogalskiy](https://github.com/AlexRogalskiy))
- Configure WhiteSource Bolt for GitHub [\#1](https://github.com/AlexRogalskiy/scala-patterns/pull/1) ([whitesource-bolt-for-github[bot]](https://github.com/apps/whitesource-bolt-for-github))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ ARG IMAGE_TAG=12-buster
## Setting base image
FROM ${IMAGE_SOURCE}:${IMAGE_TAG}

MAINTAINER Alexander Rogalskiy <github@AlexRogalskiy>

## Setting argument variables
ARG PYTHON_VERSION=3.8.2
ARG LC_ALL="en_US.UTF-8"
Expand All @@ -18,6 +16,9 @@ ARG APP_DIR="/usr/src/app"
ARG DATA_DIR="/usr/src/data"

## Setting metadata labels
LABEL "name"="scala-patterns"
LABEL "version"="$VERSION"

LABEL "com.github.repository"="https://github.com/AlexRogalskiy/scala-patterns"
LABEL "com.github.homepage"="https://github.com/AlexRogalskiy/scala-patterns"
LABEL "com.github.maintainer"="Sensiblemetrics, Inc. <hello@sensiblemetrics.io> (https://sensiblemetrics.io)"
Expand Down
58 changes: 32 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,29 @@
## 🎹 *Table of contents*

<!--ts-->
* [Scala Design Patterns](#scala-design-patterns)
* [<em>Table of contents</em>](#-table-of-contents)
* [<em>Summary</em>](#-summary)
* [<em>Documentation</em>](#-documentation)
* [<em>Statistics</em>](#-statistics)
* [<em>Versioning</em>](#-versioning)
* [<em>Authors</em>](#-authors)
* [<em>Contributing</em>](#-contributing)
* [<em>Visitor stats</em>](#-visitor-stats)
* [<em>Licensing</em>](#-licensing)
* [<em>Development Support</em>](#-development-support)
* [<em>Acknowledgement</em>](#-acknowledgement)
* [<em>OpenGraph Card</em>](#-opengraph-card)
* [<em>Feeds and Podcasts</em>](#-feeds-and-podcasts)
* [<em>Reddit posts</em>](#reddit-posts)
* [<em>InfoWorld posts</em>](#infoworld-posts)
* [<em>RedHat posts</em>](#redhat-posts)
* [<em>Akka posts</em>](#akka-posts)
* [<em>Li Haoyi posts</em>](#li-haoyi-posts)
* [<em>Scala Lang posts</em>](#scala-lang-posts)
* [<em>Scalac posts</em>](#scalac-posts)

- [Scala Design Patterns](#scala-design-patterns)
- [<em>Table of contents</em>](#-table-of-contents)
- [<em>Summary</em>](#-summary)
- [<em>Documentation</em>](#-documentation)
- [<em>Statistics</em>](#-statistics)
- [<em>Versioning</em>](#-versioning)
- [<em>Authors</em>](#-authors)
- [<em>Contributing</em>](#-contributing)
- [<em>Visitor stats</em>](#-visitor-stats)
- [<em>Licensing</em>](#-licensing)
- [<em>Development Support</em>](#-development-support)
- [<em>Acknowledgement</em>](#-acknowledgement)
- [<em>OpenGraph Card</em>](#-opengraph-card)
- [<em>Feeds and Podcasts</em>](#-feeds-and-podcasts)
- [<em>Reddit posts</em>](#reddit-posts)
- [<em>InfoWorld posts</em>](#infoworld-posts)
- [<em>RedHat posts</em>](#redhat-posts)
- [<em>Akka posts</em>](#akka-posts)
- [<em>Li Haoyi posts</em>](#li-haoyi-posts)
- [<em>Scala Lang posts</em>](#scala-lang-posts)
- [<em>Scalac posts</em>](#scalac-posts)

<!--te-->

## *Summary*
Expand Down Expand Up @@ -248,23 +250,27 @@ and ***Scala Patterns*** ? Consider buying me a coffee :)
### *Reddit posts*

<!-- REDDIT-POST-LIST:START -->

- [Best strategy to find remote scala job](https://www.reddit.com/r/scala/comments/o61ock/best_strategy_to_find_remote_scala_job/)
- [Scala 3 goodies for Scala 2 developers](https://www.reddit.com/r/scala/comments/o5j1nt/scala_3_goodies_for_scala_2_developers/)
- [Scala 3 goodies for Scala 2 developers](https://www.reddit.com/r/scala/comments/o5j1nt/scala\_3\_goodies_for_scala\_2\_developers/)
- [Learning Scala with #Intellij Scala Plugin 2021(#Scala #REPL #ScratchPad )](https://www.reddit.com/r/scala/comments/o5fjt2/learning_scala_with_intellij_scala_plugin/)
- [This week in #Scala (Jun 21, 2021)](https://www.reddit.com/r/scala/comments/o4ujok/this_week_in_scala_jun_21_2021/)
- [This week in #Scala (Jun 21, 2021)](https://www.reddit.com/r/scala/comments/o4ujok/this_week_in_scala_jun\_21\_2021/)
- [Destroy your foldLeft with traverse and State - Scala tutorial](https://www.reddit.com/r/scala/comments/o4irz5/destroy_your_foldleft_with_traverse_and_state/)
- [Best practices for using Scala on AWS Lambda](https://www.reddit.com/r/scala/comments/o4bt4w/best_practices_for_using_scala_on_aws_lambda/)
- [Scala 3 Android app](https://www.reddit.com/r/scala/comments/o459gz/scala_3_android_app/)
- [How to write a fire shader (Scala.js / WebGL 2.0)](https://www.reddit.com/r/scala/comments/o4249h/how_to_write_a_fire_shader_scalajs_webgl_20/)
- [Part 2 - ZIO[_, _, Success] - Getting Started with ZIO in Scala3](https://www.reddit.com/r/scala/comments/o408r2/part_2_zio_success_getting_started_with_zio_in/)
- [Scala 3 Android app](https://www.reddit.com/r/scala/comments/o459gz/scala\_3\_android_app/)
- [How to write a fire shader (Scala.js / WebGL 2.0)](https://www.reddit.com/r/scala/comments/o4249h/how_to_write_a_fire_shader_scalajs_webgl\_20/)
- [Part 2 - ZIO\[\_, \_, Success\] - Getting Started with ZIO in Scala3](https://www.reddit.com/r/scala/comments/o408r2/part\_2\_zio_success_getting_started_with_zio_in/)
- [Implementing generic types](https://www.reddit.com/r/scala/comments/o3ni0m/implementing_generic_types/)

<!-- REDDIT-POST-LIST:END -->

### *InfoWorld posts*

<!-- INFOWORLD-POST-LIST:START -->

- [Scala 3 ushers in ‘complete overhaul’ of the language](https://www.infoworld.com/article/3608574/scala-3-moves-to-release-candidate-stage.html#tk.rss_scala)
- [Scala.js 1.0.0 improves JavaScript interoperability](https://www.infoworld.com/article/3530316/scalajs-100-improves-javascript-interoperability.html#tk.rss_scala)

<!-- INFOWORLD-POST-LIST:END -->

### *RedHat posts*
Expand Down

0 comments on commit cbfc88d

Please sign in to comment.