Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Oct 31, 2022
1 parent b70aafe commit 4ee878a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/primer_comment.yaml
Expand Up @@ -16,6 +16,7 @@ env:
# This needs to be the SAME as in the Main and PR job
CACHE_VERSION: 1
KEY_PREFIX: venv-primer
DEFAULT_PYTHON: "3.10"

permissions:
contents: read
Expand All @@ -34,11 +35,11 @@ jobs:
- run: npm install @octokit/rest
- name: Check out code from GitHub
uses: actions/checkout@v3.1.0
- name: Set up Python 3.10
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v4.3.0
with:
python-version: "3.10"
python-version: ${{ env.DEFAULT_PYTHON }}
check-latest: true

# Restore cached Python environment
Expand Down Expand Up @@ -114,7 +115,6 @@ jobs:
id: post-comment
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs')
const comment = fs.readFileSync('tests/.pylint_primer_tests/comment.txt', { encoding: 'utf8' })
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/primer_run_main.yaml
Expand Up @@ -104,6 +104,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: primer_output
path:
path: >-
tests/.pylint_primer_tests/output_${{ steps.python.outputs.python-version
}}_main.txt

0 comments on commit 4ee878a

Please sign in to comment.