mirror of https://gitea.com/gitea/act
29 lines
614 B
YAML
29 lines
614 B
YAML
on: push
|
|
env:
|
|
MY_SHELL: python
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- shell: ${{ env.MY_SHELL }}
|
|
run: |
|
|
import platform
|
|
print(platform.python_version())
|
|
check-container:
|
|
runs-on: ubuntu-latest
|
|
container: node:16-buster
|
|
steps:
|
|
- shell: ${{ env.MY_SHELL }}
|
|
run: |
|
|
import platform
|
|
print(platform.python_version())
|
|
check-job-default:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: ${{ env.MY_SHELL }}
|
|
steps:
|
|
- run: |
|
|
import platform
|
|
print(platform.python_version())
|