Skip to content

Commit

Permalink
Update INSTRUCTIONS for new versions of actions and pinned requiremen…
Browse files Browse the repository at this point in the history
…ts.txt dependencies (#37)
  • Loading branch information
jmertic authored May 2, 2024
1 parent b5817e9 commit 45248d3
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,37 @@ jobs:

steps:
- name: Checkout Landscape
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: landscape
- name: Checkout landscape-tools
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jmertic/landscape-tools
path: landscape-tools
- name: Set up Python 3.x
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r landscape-tools/requirements.txt
pip install --no-deps --require-hashes -r landscape-tools/requirements.txt
- name: Run build
working-directory: ./landscape
run: |
../landscape-tools/landscapemembers.py
- name: Save missing.csv file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: missing-members
path: ./landscape/missing.csv
- name: Checkout landscapeapp
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cncf/landscapeapp
path: landscapeapp
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Cleanup YAML files
Expand All @@ -86,7 +85,7 @@ jobs:
PROJECT_PATH=../landscape node tools/removeQuotes
PROJECT_PATH=../landscape node tools/pruneExtraEntries
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT }}
branch-suffix: timestamp
Expand Down

0 comments on commit 45248d3

Please sign in to comment.