-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issues in Github CI failing to pass
- Improved commits publishing - Fixed deprecation Github CI errors for action/cache, action/checkout, and action/setup-go
- Loading branch information
1 parent
bf81e71
commit 4084025
Showing
1 changed file
with
22 additions
and
4 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 |
---|---|---|
|
@@ -156,24 +156,42 @@ jobs: | |
name: Publishing Commits | ||
needs: unit-tests | ||
if: github.event_name != 'pull_request' | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- | ||
name: Install libgit2-dev | ||
run: sudo apt-get install -y libgit2-dev | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup GO | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.17' | ||
go-version: '1.21.1' | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
php-version: 8.2 | ||
extensions: pcre, json, fileinfo | ||
coverage: none | ||
|
||
- name: Install & Build Splitsh-lite | ||
run: | | ||
git clone https://github.com/splitsh/lite.git /tmp/splitsh-lite | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Divine Niiquaye Ibok" | ||
cd /tmp/splitsh-lite | ||
sed -i -e 's/v34/v31/g' go.mod splitter/*.go | ||
go mod tidy | ||
go build -o splitsh-lite github.com/splitsh/lite | ||
sudo rm /home/runner/work/poakium/poakium/tools/monorepo/bin/splitsh-lite | ||
sudo mv splitsh-lite /home/runner/work/poakium/poakium/tools/monorepo/bin/splitsh-lite | ||
cd /home/runner/work/poakium/poakium | ||
git commit -am "chore: update splitsh-lite" | ||
- name: Install dependencies | ||
run: cd tools/monorepo && composer install --no-progress && cd ../../ | ||
|
||
|