Skip to content

Commit 595146e

Browse files
juanpedromorenoactions-user
authored andcommitted
Update files from .github to v0.8.9 [skip ci]
1 parent 71a0112 commit 595146e

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup yq
3636
run: sudo snap install yq
3737
- name: Run pre-conditions
38-
run: test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" pre.ci)" || true
38+
run: test -f .github/actions.yml && eval "$(yq e '.pre.ci // "true"' .github/actions.yml)" || true
3939
- name: Run scalafmt on Scala Steward PRs
4040
if: github.event.pull_request.user.login == '47erbot' && contains(github.event.pull_request.body, 'Scala Steward')
4141
run: sbt "scalafixEnable; fix" || sbt "scalafmtAll; scalafmtSbt" || true
@@ -48,7 +48,7 @@ jobs:
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
5050
- name: Run post-conditions
51-
run: test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" post.ci)" || true
51+
run: test -f .github/actions.yml && eval "$(yq e '.post.ci // "true"' .github/actions.yml)" || true
5252
- name: Automerge Scala Steward PRs
5353
if: success() && github.event_name == 'pull_request' && contains(github.event.pull_request.body, 'Scala Steward')
5454
uses: ridedott/[email protected]

.github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
- name: Setup yq
3232
run: sudo snap install yq
3333
- name: Run pre-conditions
34-
run: test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" pre.docs)" || true
34+
run: test -f .github/actions.yml && eval "$(yq e '.pre.docs // "true"' .github/actions.yml)" || true
3535
- name: Generate documentation
3636
run: sbt ci-docs
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
DOWNLOAD_INFO_FROM_GITHUB: true
4040
- name: Run post-conditions
41-
run: test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" post.docs)" || true
41+
run: test -f .github/actions.yml && eval "$(yq e '.post.docs // "true"' .github/actions.yml)" || true
4242
- name: Generate changelog
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup yq
3131
run: sudo snap install yq
3232
- name: Run pre-conditions
33-
run: test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" pre.release)" || true
33+
run: test -f .github/actions.yml && eval "$(yq e '.pre.release // "true"' .github/actions.yml)" || true
3434
- name: Release new version
3535
run: sbt ci-publish
3636
env:
@@ -40,4 +40,4 @@ jobs:
4040
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4141
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
4242
- name: Run post-conditions
43-
run: test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" post.release)" || true
43+
run: test -f .github/actions.yml && eval "$(yq e '.post.release // "true"' .github/actions.yml)" || true

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,7 @@ tags
6969
!.vscode/tasks.json
7070
!.vscode/launch.json
7171
!.vscode/extensions.json
72+
73+
# Direnv
74+
75+
.direnv

0 commit comments

Comments
 (0)