update docker file and python deps #12
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
name: action-tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
test_defaults: | |
runs-on: ubuntu-latest | |
name: Test alpine python pkgs | |
steps: | |
# To use this repository's private action, | |
# you must check out the repository | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Environment | |
run: | | |
bash -c set | |
#- name: Get token local action | |
#id: generate-token | |
#uses: ./ # Uses an action in the root directory | |
#with: | |
#APP_PEM: ${{ secrets.VCT_GHT_APP_PEM }} | |
#APP_ID: ${{ vars.VCT_GHT_APP_ID }} | |
- name: Generate GH token | |
id: generate-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ vars.VCT_GHT_APP_ID }} | |
private-key: ${{ secrets.VCT_GHT_APP_PEM }} | |
owner: ${{ github.repository_owner }} | |
repositories: "actions-app-token" | |
- name: Check App Installation Token | |
run: | | |
echo "This token is masked: ${TOKEN}" | |
env: | |
TOKEN: ${{ steps.generate-token.outputs.app_token }} | |
# the example 'gh' command is not there | |
#- name: Check the GH token | |
#env: | |
#GH_TOKEN: ${{ steps.generate-token.outputs.token }} | |
#run: | | |
#gh api actions-app-token |