From 21d3d230a3eb353b954ab7743b37ceee01eab621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Komar=C4=8Devi=C4=87?= Date: Wed, 15 Mar 2023 13:40:51 +0100 Subject: CI: bump actions versions --- .github/workflows/build.yml | 60 +++++++++++++++++------------------ .github/workflows/codeql-analysis.yml | 14 ++++---- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc03cc9..12de8c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,68 +13,68 @@ jobs: Ubuntu: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build Ubuntu run: | ./configure --with-fastfloat - make + make make check Ubuntu-20-04: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build Ubuntu run: | ./configure --with-fastfloat - make + make make check - + MacOS: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build MacOS run: | ./configure --with-fastfloat - make - make check - + make + make check + Windows-64: runs-on: windows-latest - + steps: - - uses: actions/checkout@v2 - - uses: ilammy/msvc-dev-cmd@v1 + - uses: actions/checkout@v3 + - uses: ilammy/msvc-dev-cmd@v1 with: arch: x64 - - - name: Build Windows 64 bit - run: devenv .\Projects\VC2019\lcms2.sln /Rebuild "Release|x64" /Project testbed - - - name: Run tests + + - name: Build Windows 64 bit + run: devenv .\Projects\VC2019\lcms2.sln /Rebuild "Release|x64" /Project testbed + + - name: Run tests run: testbed\testbed.exe --chdir testbed - + Windows-32: - runs-on: windows-latest + runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: ilammy/msvc-dev-cmd@v1 + - uses: actions/checkout@v3 + - uses: ilammy/msvc-dev-cmd@v1 with: arch: win32 - - - name: Build Windows 32 bit - run: devenv .\Projects\VC2019\lcms2.sln /Rebuild "Release|Win32" /Project testbed - - name: Run tests + - name: Build Windows 32 bit + run: devenv .\Projects\VC2019\lcms2.sln /Rebuild "Release|Win32" /Project testbed + + - name: Run tests run: testbed\testbed.exe --chdir testbed - - + + Ubuntu-meson: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install packages run: | @@ -91,7 +91,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install packages run: | @@ -132,7 +132,7 @@ jobs: ninja:p pkgconf:p - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build Windows run: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1527837..9fcddf6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -44,23 +44,23 @@ jobs: # If this run was triggered by a pull request event, then checkout # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} + #- run: git checkout HEAD^2 + # if: ${{ github.event_name == 'pull_request' }} # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -74,4 +74,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 -- cgit v1.2.1