From 7fb479e4f52a6dd09fb06efd27efc37fee7c8176 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Mon, 18 Dec 2023 10:00:11 +0000 Subject: [PATCH] permissions --- .github/workflows/release.yml | 3 +++ .github/workflows/test-packages.yml | 8 ++++---- CITATION.cff | 2 +- VERSION | 2 +- codemeta.json | 2 +- pyproject.toml | 2 +- symfem/version.py | 2 +- 7 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2adf1f3f..049262df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ jobs: check-version: name: Check version number runs-on: ubuntu-latest + permissions: + id-token: write + steps: - uses: actions/checkout@v4 - name: Set up Python 3.12 diff --git a/.github/workflows/test-packages.yml b/.github/workflows/test-packages.yml index 834431c4..ce8c110c 100644 --- a/.github/workflows/test-packages.yml +++ b/.github/workflows/test-packages.yml @@ -18,7 +18,7 @@ jobs: python-version: ${{ matrix.python-version }} - uses: actions/checkout@v4 with: - ref: v2023.12.3 + ref: v2023.12.4 name: Get latest Symfem version - run: rm -rf symfem VERSION name: Remove downloaded symfem @@ -51,7 +51,7 @@ jobs: activate-environment: symfem - uses: actions/checkout@v4 with: - ref: v2023.12.3 + ref: v2023.12.4 name: Get latest Symfem version - run: rm -rf symfem VERSION name: Remove downloaded symfem @@ -82,7 +82,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: | - wget -O symfem.tar.gz https://pypi.io/packages/source/s/symfem/symfem-2023.12.3.tar.gz + wget -O symfem.tar.gz https://pypi.io/packages/source/s/symfem/symfem-2023.12.4.tar.gz tar -xvzf symfem.tar.gz name: Download and unpack latest version of Symfem - name: Install LaTeΧ @@ -92,7 +92,7 @@ jobs: - run: pip install pytest name: Install pytest - run: | - cd symfem-2023.12.3 + cd symfem-2023.12.4 pip install .[optional] python3 -m pytest test/ name: Install requirements, run tests and demos diff --git a/CITATION.cff b/CITATION.cff index b2b60032..b5f6dc92 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,7 +5,7 @@ authors: given-names: Matthew W. orcid: 0000-0002-4658-2443 title: Symfem -version: 2023.12.3 +version: 2023.12.4 date-released: 2023-12-18 license: MIT url: https://github.com/mscroggs/symfem diff --git a/VERSION b/VERSION index cee5dee7..0c4de628 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2023.12.3 \ No newline at end of file +2023.12.4 \ No newline at end of file diff --git a/codemeta.json b/codemeta.json index 09d33d86..94cbb793 100644 --- a/codemeta.json +++ b/codemeta.json @@ -1 +1 @@ -{"@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld", "@type": "Code", "author": [{"@id": "0000-0002-4658-2443", "@type": "Person", "email": "mws48@cam.ac.uk", "name": "Matthew Scroggs", "affiliation": "Department of Engineering, University of Cambridge"}], "identifier": "", "codeRepository": "https://github.com/mscroggs/symfem", "datePublished": "2021-01-23", "dateModified": "2023-12-18", "dateCreated": "2021-01-23", "description": "A symbolic finite element definition library", "keywords": "Python, finite element method, numerical analysis", "license": "MIT", "title": "Symfem", "version": "2023.12.3"} \ No newline at end of file +{"@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld", "@type": "Code", "author": [{"@id": "0000-0002-4658-2443", "@type": "Person", "email": "mws48@cam.ac.uk", "name": "Matthew Scroggs", "affiliation": "Department of Engineering, University of Cambridge"}], "identifier": "", "codeRepository": "https://github.com/mscroggs/symfem", "datePublished": "2021-01-23", "dateModified": "2023-12-18", "dateCreated": "2021-01-23", "description": "A symbolic finite element definition library", "keywords": "Python, finite element method, numerical analysis", "license": "MIT", "title": "Symfem", "version": "2023.12.4"} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index b06aa051..6176ba36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"] [project] name = "symfem" -version = "2023.12.3" +version = "2023.12.4" description = "a symbolic finite element definition library" readme = "README.md" requires-python = ">=3.8.0" diff --git a/symfem/version.py b/symfem/version.py index 54f5bcbc..e22b47f6 100644 --- a/symfem/version.py +++ b/symfem/version.py @@ -1,3 +1,3 @@ """Version number.""" -version = "2023.12.3" +version = "2023.12.4"