-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* openssf issue * update namespaces * github auto disabled scheduled workflows on inactive repos * pre-commit issues * build issues * avoid double test * save file
- Loading branch information
Showing
7 changed files
with
73 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,29 +3,32 @@ | |
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
name: Docker | ||
permissions: read-all | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
# 8am UTC is 12am PST, 1am PDT | ||
schedule: | ||
- cron: '0 8 * * *' | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
run_precommit: | ||
name: Run pre-commit | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
- name: Run checkers | ||
run: | | ||
pip install pre-commit | ||
pre-commit run --all | ||
run_examples: | ||
name: Build and run examples | ||
runs-on: ubuntu-latest | ||
|
@@ -38,9 +41,7 @@ jobs: | |
- ${{ github.workspace }}:/src | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- name: Build examples | ||
run: | | ||
cmake -B build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters