-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
13 additions
and
52 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 |
---|---|---|
|
@@ -6,37 +6,23 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v25 | ||
- uses: cachix/install-nix-action@v26 | ||
- run: nix build | ||
ci-matrix: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: [ '[email protected]' ] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 100 | ||
- uses: jorelali/setup-elm@v5 | ||
with: | ||
elm-version: 0.19.1 | ||
- uses: bahmutov/npm-install@v1 | ||
with: | ||
working-directory: modules/webapp | ||
- uses: cachix/install-nix-action@v25 | ||
- name: Install tailwindcss cli | ||
run: | | ||
nix profile install nixpkgs#tailwindcss | ||
- uses: cachix/install-nix-action@v26 | ||
- name: Fetch tags | ||
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | ||
- uses: olafurpg/setup-scala@v14 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- name: Coursier cache | ||
uses: coursier/cache-action@v6 | ||
- name: sbt ci ${{ github.ref }} | ||
run: sbt ci | ||
run: nix develop .#ci --command sbt ci | ||
ci: | ||
runs-on: ubuntu-22.04 | ||
needs: [ci-matrix] | ||
|
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 |
---|---|---|
|
@@ -8,33 +8,19 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
java: [ '[email protected]' ] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: olafurpg/setup-scala@v14 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- uses: jorelali/setup-elm@v5 | ||
with: | ||
elm-version: 0.19.1 | ||
- uses: bahmutov/npm-install@v1 | ||
with: | ||
working-directory: modules/webapp | ||
- uses: cachix/install-nix-action@v25 | ||
- name: Install tailwindcss cli | ||
run: | | ||
nix profile install nixpkgs#tailwindcss | ||
- uses: cachix/install-nix-action@v26 | ||
- name: Coursier cache | ||
uses: coursier/cache-action@v6 | ||
- name: Set current version | ||
run: echo "SHARRY_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV | ||
- name: sbt ci ${{ github.ref }} | ||
run: sbt ci | ||
run: nix develop .#ci --command sbt ci | ||
- name: sbt make-pkg (${{ env.SHARRY_VERSION }}) | ||
run: sbt make-pkg | ||
run: nix develop .#ci --command sbt make-pkg | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
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 |
---|---|---|
|
@@ -8,27 +8,16 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
java: [ '[email protected]' ] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: olafurpg/setup-scala@v14 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- uses: jorelali/setup-elm@v5 | ||
with: | ||
elm-version: 0.19.1 | ||
- uses: bahmutov/npm-install@v1 | ||
with: | ||
working-directory: modules/webapp | ||
- name: Coursier cache | ||
uses: coursier/cache-action@v6 | ||
- name: Set current version | ||
run: echo "SHARRY_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV | ||
- name: sbt make-pkg (${{ env.SHARRY_VERSION }}) | ||
run: sbt make-pkg | ||
run: nix develop .#ci --command sbt make-pkg | ||
- uses: meeDamian/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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