-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from chrovis/feature/signature-db-loader
Add signature database loader with COSMIC style
- Loading branch information
Showing
13 changed files
with
275 additions
and
237 deletions.
There are no files selected for viewing
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,26 @@ | ||
name: format | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
architecture: x64 | ||
- name: Cache m2 repository | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/project.clj') }} | ||
restore-keys: | | ||
${{ runner.os }}-m2- | ||
- name: Install dependencies | ||
run: lein deps | ||
- name: Run cljfmt | ||
run: lein cljfmt check |
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,20 @@ | ||
name: lint | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name : master base sha | ||
id : master_base_sha | ||
if : github.ref == 'refs/heads/master' | ||
run: echo "::set-output name=base_sha::${{ github.event.before }}" | ||
- uses: xcoo/[email protected] | ||
with: | ||
linters: "[\"clj-kondo\" \"kibit\" \"eastwood\"]" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
runner: ":leiningen" | ||
base_sha: ${{ github.event.pull_request.base.sha||steps.master_base_sha.outputs.base_sha }} | ||
eastwood_linters: "[:all]" |
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,37 @@ | ||
name: main | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [ '8', '11', '16', '17'] | ||
clojure: [ '1.9', '1.10', '1.11' ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: 'adopt' | ||
architecture: x64 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: latest | ||
- name: Cache m2 repository | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/project.clj') }} | ||
restore-keys: | | ||
${{ runner.os }}-m2- | ||
- name: Install dependencies | ||
run: | | ||
lein deps | ||
- name: Run tests | ||
run: | | ||
lein with-profile +dev:+${{ matrix.clojure }} test | ||
lein with-profile +dev,+${{ matrix.clojure }} doo node test once |
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
Oops, something went wrong.