Skip to content

Commit

Permalink
workflows: update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Sep 4, 2024
1 parent 493e880 commit 59db108
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 43 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ci

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
# The Steam Runtime platform (sniper) uses Python 3.9
python-version: "3.9"
- name: Install dependencies
run: |
sudo apt-get install shellcheck
python3 -m pip install --upgrade pip
pip install ruff
pip install ijson
- name: Lint with Shellcheck
run: |
shellcheck tools/check-links.sh
shellcheck winetricks
- name: Lint with Ruff
run: |
ruff check .
- name: Validate gamefix modules
run: |
python3 .github/scripts/check_gamefixes.py
- name: Test with unittest
run: |
python3 protonfixes_test.py
43 changes: 0 additions & 43 deletions .github/workflows/umu-protonfixes.yml

This file was deleted.

0 comments on commit 59db108

Please sign in to comment.