diff --git a/.github/workflows/add_to_project.yml b/.github/workflows/add_to_project.yml deleted file mode 100644 index 2d995ed..0000000 --- a/.github/workflows/add_to_project.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Add to Project - -# DISCLAIMER: Never add a job that checks out code in this action -# as the secrets and tokens have repo write access. See link for more info -# https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/ - -on: - pull_request_target: - types: - - opened - issues: - types: - - opened - -jobs: - add-to-project: - name: Add issues and PRs to formulation project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.6.1 - with: - project-url: https://github.com/orgs/NOAA-OWP/projects/30 - github-token: ${{ secrets.FORMULATION_PROJECT_ADD_TOKEN }} diff --git a/.github/workflows/build_and_run_unit_test.yml b/.github/workflows/build_and_run_unit_test.yml index 4c678d6..5915151 100644 --- a/.github/workflows/build_and_run_unit_test.yml +++ b/.github/workflows/build_and_run_unit_test.yml @@ -23,7 +23,7 @@ jobs: # The type of runner that the job will run on strategy: matrix: - os: [ubuntu-20.04, macos-12] + os: [ubuntu-latest, macos-latest] fail-fast: false runs-on: ${{ matrix.os }} diff --git a/.github/workflows/ngen_integration.yaml b/.github/workflows/ngen_integration.yaml index efc3c77..96b4833 100644 --- a/.github/workflows/ngen_integration.yaml +++ b/.github/workflows/ngen_integration.yaml @@ -46,6 +46,20 @@ jobs: with: repository: noaa-owp/ngen + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + python-version: "3.12" + enable-cache: false + + - name: Install python via uv + run: uv python install --default + + - name: Install gcc12 on MacOS + if: runner.os == 'macOS' + run: | + brew install gcc@12 + - name: Build Surfacebmi id: submod_build_1 uses: ./.github/actions/ngen-submod-build @@ -71,6 +85,7 @@ jobs: id: submod_build_6 uses: ./.github/actions/ngen-submod-build with: + cmake-flags: -DCMAKE_POLICY_VERSION_MINIMUM=3.5 mod-dir: "extern/sloth/" targets: "slothmodel"