Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github/codeql-action from 3.24.6 to 3.25.3 #77

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -46,7 +46,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@8a470fddafa5cbb6266ee11b37ef4d8aae19c571
uses: github/codeql-action/autobuild@d39d31e687223d841ef683f52467bd88e9b21c14

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -59,4 +59,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14
2 changes: 1 addition & 1 deletion .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571
uses: github/codeql-action/upload-sarif@d39d31e687223d841ef683f52467bd88e9b21c14
with:
sarif_file: results.sarif
39 changes: 39 additions & 0 deletions .github/workflows/sdist-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# A workflow to test the sdist that will be released to PyPI

name: sdist-test

on:
workflow_dispatch:

permissions: read-all

jobs:
sdist-test:
name: Test sdist
runs-on: ubuntu-latest
timeout-minutes: 90

steps:
- name: Checkout Melting Pot
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Build source distribution
run: python setup.py sdist

- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: '3.11'

- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install pytest-xdist setuptools

- name: Install source distribution
run: |
pip install dist/*.tar.gz

- name: Test source distribution
run: |
pytest -n auto --pyargs meltingpot