Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthb committed Sep 5, 2022
1 parent 1f64cd3 commit bb561c9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: CI

on:
push:
Expand All @@ -22,8 +22,10 @@ jobs:
name: Test, lint, and build everything.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- name: Checkout code
uses: actions/checkout@v2
- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
Expand All @@ -37,15 +39,18 @@ jobs:
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
- uses: actions/setup-python@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry
- working-directory: web
- name: Build web site
working-directory: web
run: |
npm ci
npm run build
- run: |
- name: Lint and test Python code
run: |
poetry install
poetry run black . --check
poetry run mypy .
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- name: Checkout code
uses: actions/checkout@v2
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
- name: Calculate short SHA
run: echo "SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)" >>"$GITHUB_ENV"
- name: Build container image
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rate My Pulls

[![ci](https://github.com/ananthb/rate-my-pulls/actions/workflows/ci.yaml/badge.svg)](https://github.com/ananthb/rate-my-pulls/actions/workflows/ci.yaml)
[![CI](https://github.com/ananthb/rate-my-pulls/actions/workflows/ci.yaml/badge.svg)](https://github.com/ananthb/rate-my-pulls/actions/workflows/ci.yaml)


Tinder for your pull requests.
Expand Down

0 comments on commit bb561c9

Please sign in to comment.