-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update config files to more consistent format. - Update dependencies. - Move to elm-tooling. - Update readme to fix broken shields. - Update workflows.
- Loading branch information
Showing
15 changed files
with
662 additions
and
2,835 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ on: | |
tags: | ||
- "*.*.*" | ||
|
||
env: | ||
GIT_TAG_NAME: ${{ github.ref_type == 'tag' && github.ref_name || '' }} | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
|
@@ -17,26 +20,23 @@ jobs: | |
|
||
steps: | ||
- name: Checkout elm-fontawesome-generator repository. | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get version from tag. | ||
uses: little-core-labs/[email protected] | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup buildx. | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Build library. | ||
uses: docker/bake-action@v2 | ||
uses: docker/bake-action@v4 | ||
env: | ||
ELM_FONTAWESOME_VERSION: ${{ env.GIT_TAG_NAME }} | ||
|
||
- name: Ensure example builds. | ||
uses: docker/bake-action@v2 | ||
uses: docker/bake-action@v4 | ||
with: | ||
targets: example | ||
|
||
- name: Checkout elm-fontawesome repository. | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: "lattyware/elm-fontawesome" | ||
ssh-key: ${{ secrets.LIB_DEPLOY_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
- 7.0.0 | ||
|
||
- Changed: | ||
- Upgraded FontAwesome version. | ||
|
||
- 6.0.0 | ||
|
||
- Changed: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ on: | |
tags: | ||
- "*.*.*" | ||
|
||
env: | ||
GIT_TAG_NAME: ${{ github.ref_type == 'tag' && github.ref_name || '' }} | ||
|
||
jobs: | ||
publish-elm: | ||
name: Publish elm package | ||
|
@@ -14,16 +17,13 @@ jobs: | |
contents: read | ||
|
||
steps: | ||
- name: Get version from tag. | ||
uses: little-core-labs/[email protected] | ||
|
||
- name: Checkout elm-fontawesome repository. | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ env.GIT_TAG_NAME }} | ||
|
||
- name: Set up elm. | ||
uses: jorelali/setup-elm@v3 | ||
uses: jorelali/setup-elm@v5 | ||
with: | ||
elm-version: 0.19.1 | ||
|
||
|
@@ -40,16 +40,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout elm-fontawesome repository. | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get version from tag. | ||
uses: little-core-labs/[email protected] | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup buildx. | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Set up elm. | ||
uses: jorelali/setup-elm@v3 | ||
uses: jorelali/setup-elm@v5 | ||
with: | ||
elm-version: 0.19.1 | ||
|
||
|
@@ -58,22 +55,19 @@ jobs: | |
echo Y | elm install "lattyware/elm-fontawesome" | ||
- name: Build example. | ||
uses: docker/bake-action@v3 | ||
uses: docker/bake-action@v4 | ||
with: | ||
#working-directory: "example" # Not available yet, hack workaround. | ||
files: "./example/docker-bake.hcl" # Workaround | ||
set: "build.context=./example" # Workaround | ||
workdir: "example" | ||
env: | ||
FONTAWESOME_SOURCE: "package" | ||
FONTAWESOME_CONTEXT: "." # Workaround. | ||
|
||
- name: Set up git to push. | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: Checkout elm-fontawesome-example repository. | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: "lattyware/elm-fontawesome" | ||
ssh-key: ${{ secrets.EXAMPLE_DEPLOY_KEY }} | ||
|
@@ -99,7 +93,7 @@ jobs: | |
fi | ||
- name: Checkout elm-fontawesome-example pages repository. | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: "lattyware/elm-fontawesome" | ||
ssh-key: ${{ secrets.EXAMPLE_DEPLOY_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"iconSources": [ | ||
{ | ||
"name": "Solid", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"tools": { | ||
"elm":"0.19.1", | ||
"elm-format": "0.8.7" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export default [ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: ["tsconfig.json"], | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"simple-import-sort", | ||
"eslint-plugin-prettier" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended" | ||
], | ||
"rules": { | ||
"simple-import-sort/imports": "error", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ "argsIgnorePattern": "^_", "destructuredArrayIgnorePattern": "^_" } | ||
] | ||
} | ||
} | ||
] |
Oops, something went wrong.