diff options
author | nicolargo <nicolashennion@gmail.com> | 2024-05-06 10:41:38 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2024-05-06 10:41:38 +0200 |
commit | d91663a428cbfee1041799cc0b5a6d87cc831e46 (patch) | |
tree | 23dfbb9d3cbd2d062b1c338cc1ace29b2329ee26 /.github | |
parent | a7b45ff585a4b86543b681ccfebd5d5244128aca (diff) |
Comment FreeBSD test (not working) and upgrade CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 6 | ||||
-rw-r--r-- | .github/workflows/test.yml | 41 |
2 files changed, 26 insertions, 21 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6d0df601..2d2ea63e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -26,7 +26,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -37,7 +37,7 @@ jobs: # 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@v2 + uses: github/codeql-action/autobuild@v3 # âšī¸ Command-line programs to run using the OS shell. # đ https://git.io/JvXDl @@ -51,4 +51,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffc6ad38..b7836ca4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,9 +20,10 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Install dependencies run: | @@ -66,9 +67,10 @@ jobs: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} - # uses: actions/setup-python@v4 + # uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} + # cache: 'pip' # - name: Install dependencies # run: | @@ -93,9 +95,10 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Install dependencies run: | @@ -106,21 +109,23 @@ jobs: run: | python ./unitest.py - test-freebsd: + # Error when trying to implement #2749 + # pkg: No packages available to install matching 'py-pip' have been found in the repositories + # test-freebsd: - runs-on: ubuntu-22.04 + # runs-on: ubuntu-22.04 - steps: + # steps: - - uses: actions/checkout@v4 - - - name: Run tests - uses: vmactions/freebsd-vm@v1 - with: - usesh: true - prepare: | - pkg install -y python3 py-pip - run: | - set -e -x - python3 -m pip install --user -r requirements.txt - python ./unitest.py + # - uses: actions/checkout@v4 + + # - name: Run tests + # uses: vmactions/freebsd-vm@v1 + # with: + # usesh: true + # prepare: | + # pkg install -y python3 py-pip + # run: | + # set -e -x + # python3 -m pip install --user -r requirements.txt + # python ./unitest.py |