build(deps): Bump github/codeql-action from 4e83f6b818d7c9f52143570963b2c7f7f055decb to 5f4f998a94c376fff5b313abc48c529e181a51d7 in the github-actions group #173
Workflow file for this run
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: RunTests | |
# Runs the workflow on the below events: | |
# 1. on pull request raised to trunk branch. | |
# 2. on push event to trunk branch. | |
on: | |
push: | |
branches: | |
- trunk | |
pull_request: | |
branches: | |
- trunk | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-20.04 | |
name: Run Tests | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install MicroPython and run tests | |
run: | | |
DLURL="https://github.com/atsign-foundation/micropython/releases/download/" | |
ATMPRELDIR="1.22.0_g099e9a1a0_AES_CTR/" | |
ATMPRELBIN="micropython_1.22.0_g099e9a1a0_linux_x64.tgz" | |
wget ${DLURL}${ATMPRELDIR}${ATMPRELBIN} | |
tar -xvf ${ATMPRELBIN} | |
export MICROPY_MICROPYTHON="$(pwd)/micropython" | |
cd tests | |
./run-tests.py -d atsign | |
tar -cvzf results.tgz results | |
- name: Upload results | |
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | |
with: | |
name: atsign tests | |
path: tests/results.tgz | |
retention-days: 7 | |