Refactor Ubuntu Focal gcc-10 setup and update related usage instructions. #884
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: "clp-lint" | |
on: ["pull_request", "push", "workflow_dispatch"] | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
# Cancel in-progress jobs for efficiency | |
cancel-in-progress: true | |
jobs: | |
lint-check: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v3" | |
with: | |
submodules: "recursive" | |
- uses: "actions/setup-python@v5" | |
with: | |
python-version: "3.11" | |
- id: "parse_meteor_version" | |
run: |- | |
release_file="./components/webui/.meteor/release" | |
meteor_version=$(grep --only-matching --perl-regexp "[\d.]+" $release_file) | |
echo "meteor_version=${meteor_version}" | tee --append $GITHUB_OUTPUT | |
- uses: "meteorengineer/setup-meteor@v1" | |
with: | |
meteor-release: "${{steps.parse_meteor_version.outputs.meteor_version}}" | |
- name: "Install task" | |
shell: "bash" | |
run: "npm install -g @go-task/cli" | |
- name: "Run lint task" | |
shell: "bash" | |
run: "task lint:check" |