Skip to content

Commit

Permalink
[nop] Update project template
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Feb 29, 2024
1 parent 8c5c572 commit 762da8b
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/graal-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
java-version: ${{ matrix.java }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: DeLaGuardo/setup-clojure@10.0
- uses: DeLaGuardo/setup-clojure@12.5
with:
lein: latest
bb: latest

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: deps-${{ hashFiles('deps.edn') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}

- uses: DeLaGuardo/setup-clojure@10.0
- uses: DeLaGuardo/setup-clojure@12.5
with:
lein: latest

- uses: supercharge/redis-github-action@1.4.0
- uses: supercharge/redis-github-action@1.7.0
with:
redis-version: 7

- uses: actions/cache@v3
- uses: actions/cache@v4
id: cache-deps
with:
path: ~/.m2/repository
Expand Down
13 changes: 13 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Security policy

## Advisories

All security advisories will be posted [on GitHub](https://github.com/taoensso/carmine/security/advisories).

## Reporting a vulnerability

Please report possible security vulnerabilities [via GitHub](https://github.com/taoensso/carmine/security/advisories), or by emailing me at `my first name at taoensso.com`. You may encrypt emails with [my public PGP/GPG key](https://www.taoensso.com/pgp).

Thank you!

\- [Peter Taoussanis](https://www.taoensso.com)
53 changes: 25 additions & 28 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
{:name "Eclipse Public License - v 1.0"
:url "https://www.eclipse.org/legal/epl-v10.html"}

:test-paths ["test" #_"src"]

:dependencies
[[com.taoensso/encore "3.68.0"]
[com.taoensso/nippy "3.3.0"]
Expand All @@ -22,42 +24,37 @@
:c1.10 {:dependencies [[org.clojure/clojure "1.10.1"]]}
:c1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}

:test
{:jvm-opts ["-Dtaoensso.elide-deprecated=true"]
:global-vars
{*warn-on-reflection* true
*assert* true
*unchecked-math* false #_:warn-on-boxed}

:dependencies
[[org.clojure/test.check "1.1.1"]]}

:graal-tests
{:dependencies [[org.clojure/clojure "1.11.1"]
[com.github.clj-easy/graal-build-time "1.0.5"]]
{:source-paths ["test"]
:main taoensso.graal-tests
:aot [taoensso.graal-tests]
:uberjar-name "graal-tests.jar"}
:uberjar-name "graal-tests.jar"
:dependencies
[[org.clojure/clojure "1.11.1"]
[com.github.clj-easy/graal-build-time "1.0.5"]]}

:dev
[:c1.11 :test
{:jvm-opts ["-server"]
:dependencies
[[org.clojure/data.json "2.4.0"]
[com.taoensso/faraday "1.12.0"]
[clj-aws-s3 "0.3.10"]
[ring/ring-core "1.10.0"]]
{:jvm-opts ["-server" "-Dtaoensso.elide-deprecated=true"]
:global-vars
{*warn-on-reflection* true
*assert* true
*unchecked-math* false #_:warn-on-boxed}

:plugins
[[lein-pprint "1.3.2"]
[lein-ancient "0.7.0"]
[com.taoensso.forks/lein-codox "0.10.10"]]
:dependencies
[[org.clojure/test.check "1.1.1"]
[org.clojure/data.json "2.4.0"]
[com.taoensso/faraday "1.12.0"]
[clj-aws-s3 "0.3.10"]
[ring/ring-core "1.10.0"]]

:codox
{:language #{:clojure #_:clojurescript}
:base-language :clojure}}]}
:plugins
[[lein-pprint "1.3.2"]
[lein-ancient "0.7.0"]
[com.taoensso.forks/lein-codox "0.10.10"]]

:test-paths ["test" #_"src"]
:codox
{:language #{:clojure #_:clojurescript}
:base-language :clojure}}}

:aliases
{"start-dev" ["with-profile" "+dev" "repl" ":headless"]
Expand Down

0 comments on commit 762da8b

Please sign in to comment.