diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7ce9dc..4a2ce09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,26 +4,33 @@ on: push jobs: build: - runs-on: ubuntu-latest name: Build + runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 + - name: Install dependencies run: | python -m pip install --upgrade pip pip install pylint build + - name: Run linter run: pylint -E tn3270 + - name: Run unit tests run: ./run_unit_tests.sh + - name: Build packages run: python -m build + - name: Attach packages - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: dist path: dist/