OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

github action workflow issue

  • Thread starter Thread starter abdoulaye sene
  • Start date Start date
A

abdoulaye sene

Guest
I have created .github/workflows/checks.yml:

Code:
---
name: checks

on: [push]

jobs:
  test-lint:
    name: Test and Lint
    runs-on: ubuntu-20.04
    steps:
      - name: login to Docker Hub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USER }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      - name: checkout
        uses: actions/checkout@v2
      - name: Test
        run: docker compose run --rm app sh -c "python manage.py test"
      - name: Lint
        run: docker compose run --rm app sh -c "flake8"

In github, I see nothing when I click on action. This image shows what I see in github.
<p>I have created <code>.github/workflows/checks.yml</code>:</p>
<pre class="lang-yaml prettyprint-override"><code>---
name: checks

on: [push]

jobs:
test-lint:
name: Test and Lint
runs-on: ubuntu-20.04
steps:
- name: login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: checkout
uses: actions/checkout@v2
- name: Test
run: docker compose run --rm app sh -c "python manage.py test"
- name: Lint
run: docker compose run --rm app sh -c "flake8"
</code></pre>
<p>In github, I see nothing when I click on action.
<a href="https://i.sstatic.net/CMWi7Brk.png" rel="nofollow noreferrer">This image shows what I see in github.</a></p>
Continue reading...
 

Latest posts

Top