Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Merge pull request #47 from python-project-templates/tkp/rs2 #97

Merge pull request #47 from python-project-templates/tkp/rs2

Merge pull request #47 from python-project-templates/tkp/rs2 #97

Workflow file for this run

name: Build Status
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
checks: write
pull-requests: write
jobs:
build:
strategy:
matrix:
template:
- python
# - cpp
- js
- jupyter
- rust
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Prework
run: |
# python
touch pyproject.toml
# node
echo '{"name": "a", "version": "0.0.0", "scripts": {}}' > package.json
printf 'lockfileVersion: '9.0'\nsettings:\n\tautoInstallPeers: true\n\texcludeLinksFromLockfile: false\nimporters:\n.: {}' > pnpm-lock.yaml
# rust
printf '[package]\nname = "rust"\nversion = "0.1.0"\nedition = "2021"\n[dependencies]\n' > Cargo.toml
mkdir -p src
printf 'fn main() {\n println!("Hello, world!");\n}\n' > src/main.rs
- uses: actions-ext/python/setup@main
with:
version: '3.11'
- run: uv pip install copier
- uses: actions-ext/node/setup@main
with:
version: 20.x
- uses: actions-ext/rust/setup@main
- run: |
pnpm install
cargo build
- run: |
make gen-${{matrix.template}}
make test-${{matrix.template}}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.