-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
2 changed files
with
21 additions
and
17 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# don't use [shell: bash] unless needed, as for macos-fresh that caused an infinite queue for the test step, and for linux bash may not exist yet | ||
# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context | ||
name: dorothy-workflow | ||
'on': | ||
- push | ||
|
@@ -15,7 +16,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # prevent rate limiting | ||
run: | | ||
# ensure dorothy is cloned, and run command | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/install?branch=${{ github.ref_name }}&commit=${{ github.sha }}')" | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/install?slug=${{ github.repository }}&commit=${{ github.sha }}')" | ||
- name: 'Dorothy Configure' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # prevent rate limiting | ||
|
@@ -103,7 +104,7 @@ jobs: | |
git config --global user.email '[email protected]' | ||
git remote set-url origin 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}' | ||
git commit -a -m 'ci: adjustments' | ||
git push origin HEAD:${{ github.ref_name }} | ||
git push origin HEAD:${{ github.ref }} | ||
fi | ||
- name: 'Trunk Check' | ||
shell: bash -leo pipefail {0} | ||
|
@@ -116,7 +117,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # prevent rate limiting | ||
run: | | ||
# ensure dorothy is cloned, and run command | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?branch=${{ github.ref_name }}&commit=${{ github.sha }}')" -- dorothy test | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?slug=${{ github.repository }}&commit=${{ github.sha }}')" -- dorothy test | ||
fresh-macos-test: | ||
runs-on: macos-latest | ||
steps: | ||
|
@@ -129,7 +130,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # prevent rate limiting | ||
run: | | ||
# ensure dorothy is cloned, and run command | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?branch=${{ github.ref_name }}&commit=${{ github.sha }}')" -- dorothy test | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?slug=${{ github.repository }}&commit=${{ github.sha }}')" -- dorothy test | ||
distro-test: | ||
continue-on-error: true | ||
runs-on: ubuntu-latest | ||
|
@@ -203,4 +204,4 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # prevent rate limiting | ||
run: | | ||
# ensure dorothy is cloned, and run command | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?branch=${{ github.ref_name }}&commit=${{ github.sha }}')" -- dorothy test | ||
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?slug=${{ github.repository }}&commit=${{ github.sha }}')" -- dorothy test |
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