Skip to content

README.md update / GitHub action #1

README.md update / GitHub action

README.md update / GitHub action #1

Workflow file for this run

name: PR-checker
run-name: ${{ github.actor }} Pull Request - make all
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: cloud-coap-server-'${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
on: [push]
jobs:
make-all:
runs-on: ubuntu-22.04
env:
PDM_BINARY_ARTIFACTS_DIR: pdm-binary-artifacts
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "temurin"
- name: Cloning pdm-binary-artifacts
uses: actions/checkout@v3
with:
repository: PelionIoT/pdm-binary-artifacts
token: ${{ secrets.ACCESS_TOKEN }}
path: ${{ env.PDM_BINARY_ARTIFACTS_DIR }}
- name: Initializing pdm-binary-artifacts
run: |
cd $PDM_BINARY_ARTIFACTS_DIR
bash init.sh --force
- run: mvn clean install -P ci
pysh-check:
runs-on: ubuntu-22.04
steps:

Check failure on line 35 in .github/workflows/PR-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/PR-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: Get scripts internal...
run: |
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com/".insteadOf "git@github.com:"
git clone git@github.com:PelionIoT/scripts-internal.git
- name: Run pysh-check
run: |
sudo apt install pycodestyle pydocstyle black
echo "." >scripts-internal/.nopyshcheck
scripts-internal/pysh-check/pysh-check.sh --workdir .