From 0660cdc36c608fb3e13afd9bdbd5dc6620f23efe Mon Sep 17 00:00:00 2001 From: Marek Wydmuch Date: Sat, 17 Aug 2024 02:00:24 +0200 Subject: [PATCH] Update some actions versions, add report on runners OS --- .github/workflows/build-and-test-windows-wheels.yml | 4 ++-- .github/workflows/build-and-test.yml | 11 ++++++++--- .github/workflows/build-docs-dev.yml | 2 +- .github/workflows/build-docs-manual-version.yml | 4 ++-- .github/workflows/build-docs-version.yml | 2 +- .github/workflows/build-wheels.yml | 9 +++++++-- .github/workflows/pre-commit.yml | 2 +- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test-windows-wheels.yml b/.github/workflows/build-and-test-windows-wheels.yml index 6129627f9..c2028e5e0 100644 --- a/.github/workflows/build-and-test-windows-wheels.yml +++ b/.github/workflows/build-and-test-windows-wheels.yml @@ -47,7 +47,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Gather all dependencies - name: Set up Python ${{ matrix.python-version }} environment @@ -59,7 +59,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Get deps repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: mwydmuch/ViZDoomWinDepBin path: ${{ github.workspace }}\deps diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b502ce42c..3bcd44b0d 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -37,15 +37,20 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive + - name: Report OS + run: | + echo ${{ matrix.os }} + uname -p + - name: Install dependencies on Ubuntu if: runner.os == 'Linux' run: | - sudo apt update - sudo apt install -y cmake git libboost-all-dev libsdl2-dev libopenal-dev + sudo apt update + sudo apt install -y cmake git libboost-all-dev libsdl2-dev libopenal-dev - name: Apt report if: runner.os == 'Linux' diff --git a/.github/workflows/build-docs-dev.yml b/.github/workflows/build-docs-dev.yml index 4cdd4dd5c..741e0149f 100644 --- a/.github/workflows/build-docs-dev.yml +++ b/.github/workflows/build-docs-dev.yml @@ -13,7 +13,7 @@ jobs: env: SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/build-docs-manual-version.yml b/.github/workflows/build-docs-manual-version.yml index 33bbff14f..75de00124 100644 --- a/.github/workflows/build-docs-manual-version.yml +++ b/.github/workflows/build-docs-manual-version.yml @@ -21,10 +21,10 @@ jobs: env: SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: inputs.commit == '' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: inputs.commit != '' with: ref: ${{ inputs.commit }} diff --git a/.github/workflows/build-docs-version.yml b/.github/workflows/build-docs-version.yml index ef0ee0037..187aec14c 100644 --- a/.github/workflows/build-docs-version.yml +++ b/.github/workflows/build-docs-version.yml @@ -12,7 +12,7 @@ jobs: env: SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 157fdc0d1..6c4eeb8df 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -24,10 +24,15 @@ jobs: os: [ubuntu-22.04, macos-14] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive + - name: Report OS + run: | + echo ${{ runner.os }} + uname -p + - name: Set up QEMU if: runner.os == 'Linux' uses: docker/setup-qemu-action@v2 @@ -57,7 +62,7 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index f79d0fc2a..6d3087eec 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -14,7 +14,7 @@ jobs: name: Pre-commit checks runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 - run: python -m pip install pre-commit - run: python -m pre_commit --version