Every step has already defined a uses or run key, but still receiving an error

Solution 1:

As other pointed out, each step is required to have either run or uses key:

name: cci-api cicd
on: [push,pull_request]
jobs: 
  ci-enviroment-setup:
    runs-on: ubuntu-latest
    steps: 
    - name: Checkout Repo
      uses: actions/checkout@v2
    - name: Setup Python
      uses: actions/setup-python@v2
      with: 
        python-version: '3.x'
        architecture: 'x64'
    - name: Setup Poetry
    # removed - in front of run key
      run: |
        python -m pip install -U pip
        pip install poetry
        poetry install
    - name: Azure Login
    # removed - in front of uses key
      uses: Azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}
    - name: Azure key vault - Get DB Secrets
      uses: Azure/get-keyvault-secrets@v1
      with: 
        keyvault: kv-prt-us-dev
        secrets: prt-cet