I am trying to check the lint on the gitubaction. my github action steps are as below
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: 'requirements.txt'
Error screenshot Attached below 
Could you please help me how to fix this?
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
I too faced the same problem. It is because of the cache server not responding that includes internal server error or any other. You can use actions/cache@v3 instead of the automatic cache by python using cache: 'pip' because the action/cache does the same but only gives warning on the server error
所有评论(0)