Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Run Pytest
Expand All @@ -38,14 +38,14 @@ jobs:
needs: test
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1.10.0
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: true
- name: Docker build and push test to ghcr.io
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
file: Dockerfile.gh
push: true
Expand All @@ -54,8 +54,8 @@ jobs:
runs-on: ubuntu-latest
needs: github_docker_build_publish_test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Test biased_lang:test image
Expand All @@ -68,14 +68,14 @@ jobs:
needs: github_test
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1.10.0
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: true
- name: Docker build and push prod to ghcr.io
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
file: Dockerfile.gh
push: true
Expand All @@ -85,14 +85,14 @@ jobs:
needs: test
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1.10.0
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: true
- name: Docker build and push gitlab image to ghcr.io
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
file: Dockerfile.gl
push: true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ biased_lang:
runs-on: ubuntu-latest
name: Detecting Biased Language
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: biased-lang-linter
uses: splunk/biased-lang-linter@main
continue-on-error: true
Expand All @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
name: Detecting Biased Language
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: biased-lang-linter
uses: splunk/biased-lang-linter@main
continue-on-error: true
Expand Down