-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-check:use actions/checkout, update actions/java to v4
The git redirect is left behind in self-hosted runners, which is not a good idea. update also actions/java to v4.
- Loading branch information
1 parent
585a987
commit 6ed4529
Showing
1 changed file
with
7 additions
and
6 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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
PDM_BINARY_ARTIFACTS_DIR: pdm-binary-artifacts | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v3 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: "8" | ||
distribution: "temurin" | ||
|
@@ -47,12 +47,13 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Get scripts internal... | ||
run: | | ||
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com/".insteadOf "[email protected]:" | ||
git clone [email protected]:PelionIoT/scripts-internal.git | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: 'PelionIoT/scripts-internal' | ||
token: ${{ secrets.ACCESS_TOKEN }} | ||
path: 'scripts-internal' | ||
- name: Run no-more-lines w pysh-check | ||
run: | | ||
sudo apt install pycodestyle pydocstyle black | ||
echo "." >scripts-internal/.nopyshcheck | ||
touch scripts-internal/.nopyshcheck | ||
scripts-internal/ci/more-lines-checker.sh ${{ github.event.repository.default_branch }} ${{ github.ref_name }} "scripts-internal/pysh-check/pysh-check.sh --workdir ." |