diff options
author | Gabriel <desouza@oculavis.de> | 2019-08-23 10:32:16 -0300 |
---|---|---|
committer | Gabriel <desouza@oculavis.de> | 2019-08-23 10:32:16 -0300 |
commit | 25a14696757491e3173160fff8fd1e9b0c503c61 (patch) | |
tree | ed5443f75e41b3a452da9f5b7779e82d263fc697 | |
parent | dc5fe1f70e4e6c0dbdbd551aa7e72df46e7e51d7 (diff) | |
download | genpass-25a14696757491e3173160fff8fd1e9b0c503c61.tar.gz genpass-25a14696757491e3173160fff8fd1e9b0c503c61.tar.bz2 genpass-25a14696757491e3173160fff8fd1e9b0c503c61.zip |
Migrate github actions
-rw-r--r-- | .github/main.workflow | 31 | ||||
-rw-r--r-- | .github/workflows/push.yml | 26 | ||||
-rw-r--r-- | env/dev/clj/user.clj | 2 |
3 files changed, 28 insertions, 31 deletions
diff --git a/.github/main.workflow b/.github/main.workflow deleted file mode 100644 index 81c7f82..0000000 --- a/.github/main.workflow +++ /dev/null @@ -1,31 +0,0 @@ -workflow "Build" { - on = "push" - resolves = ["Deploy to pages"] -} - -action "Test" { - uses = "./.github/action" - args = "test" -} - -action "Coverage" { - uses = "./.github/action" - args = "cloverage --junit" - needs = ["Test"] -} - -action "Package" { - uses = "./.github/action" - args = "package" - needs = ["Coverage"] -} - -action "Deploy to pages" { - uses = "JamesIves/github-pages-deploy-action@master" - env = { - BRANCH = "gh-pages" - FOLDER = "public" - } - secrets = ["ACCESS_TOKEN"] - needs = ["Package"] -} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..6381eb5 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,26 @@ +on: push +name: Build +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Test + uses: ./.github/action + with: + args: test + - name: Coverage + uses: ./.github/action + with: + args: cloverage --junit + - name: Package + uses: ./.github/action + with: + args: package + - name: Deploy to pages + uses: JamesIves/github-pages-deploy-action@master + env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: public diff --git a/env/dev/clj/user.clj b/env/dev/clj/user.clj index 4ba997c..53aee1b 100644 --- a/env/dev/clj/user.clj +++ b/env/dev/clj/user.clj @@ -9,3 +9,5 @@ (defn cljs [] (ra/cljs-repl)) + +(set! *warn-on-reflection* true)
\ No newline at end of file |