content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
apiVersion: 1\ndatasources:\n - name: Prometheus\n type: prometheus\n access: proxy\n orgId: 1\n uid: prometheus\n url: http://prometheus:9090\n basicAuth: false\n isDefault: true\n version: 1\n editable: false\n jsonData:\n timeInterval: "5s"\n
dataset_sample\yaml\weaviate_weaviate\tools\dev\grafana\datasources\prometheus.yml
prometheus.yml
YAML
267
0.8
0
0
awesome-app
483
2024-02-21T02:44:47.181558
Apache-2.0
false
c35271b4c0d5f8f03974bc7dcc185624
global:\n scrape_interval: 5s\n evaluation_interval: 5s\n\nscrape_configs:\n - job_name: 'weaviate-node-1'\n static_configs:\n - targets: ['host.docker.internal:2112']\n labels:\n instance: 'node-1'\n - job_name: 'weaviate-node-2'\n static_configs:\n - targets: ['host.docker.internal:2113']\n labels:\n instance: 'node-2'\n - job_name: 'weaviate-node-3'\n static_configs:\n - targets: ['host.docker.internal:2114']\n labels:\n instance: 'node-3'\n - job_name: 'node'\n scrape_interval: 15s\n static_configs:\n - targets:\n - host.docker.internal:9100\n
dataset_sample\yaml\weaviate_weaviate\tools\dev\prometheus_config\prometheus.yml
prometheus.yml
YAML
624
0.7
0
0
python-kit
341
2024-02-27T23:21:00.428381
MIT
false
43dd6c357a629fbb5b5129b884def367
env:\n CIRRUS_CLONE_SUBMODULES: true\n CIRRUS_CLONE_DEPTH: 1\n\ntask:\n name: ubuntu-24.04\n only_if: "changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')"\n container:\n image: ubuntu:24.04\n cpu: 4\n memory: 12G\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH TESTING=1 bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --all --release\n test_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo test --all --release\n\ntask:\n name: ubuntu-22.04-arm\n only_if: "$CIRRUS_REPO_OWNER == 'wezterm' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock') && $BRANCH == 'main'"\n arm_container:\n image: ubuntu:22.04\n cpu: 4\n memory: 12G\n environment:\n GITHUB_TOKEN: ENCRYPTED[!0dfc9f7314ab2500c7f72cc957d0b76940404eb8503a8cd5c4bf8a90515dfb5952ce4794bd7434002fdcc57ebf1667e0!]\n FURY_TOKEN: ENCRYPTED[!ec706982eb6c8c393fb8757ca8dcf6a04a300bb38a94c51c366455671d99ff9863be78d0b0c8ea65b49e50d16c9c956c!]\n\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n install_gh_cli_script:\n - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg\n - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list\n - apt update\n - apt install gh -y\n - gh --version\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes\n - export BUILD_REASON="Schedule"\n - export RELEASE="nightly"\n - "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""\n - "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"\n - "./ci/deploy.sh"\n - "ls -l *.deb"\n - "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"\n - "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"\n\ntask:\n name: ubuntu-24.04-arm\n only_if: "$CIRRUS_REPO_OWNER == 'wezterm' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock') && $BRANCH == 'main'"\n arm_container:\n image: ubuntu:24.04\n cpu: 4\n memory: 12G\n environment:\n GITHUB_TOKEN: ENCRYPTED[!0dfc9f7314ab2500c7f72cc957d0b76940404eb8503a8cd5c4bf8a90515dfb5952ce4794bd7434002fdcc57ebf1667e0!]\n FURY_TOKEN: ENCRYPTED[!ec706982eb6c8c393fb8757ca8dcf6a04a300bb38a94c51c366455671d99ff9863be78d0b0c8ea65b49e50d16c9c956c!]\n\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n install_gh_cli_script:\n - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg\n - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list\n - apt update\n - apt install gh -y\n - gh --version\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes\n - export BUILD_REASON="Schedule"\n - export RELEASE="nightly"\n - "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""\n - "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"\n - "./ci/deploy.sh"\n - "ls -l *.deb"\n - "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"\n - "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"\n\ntask:\n name: debian-12-arm\n only_if: "$CIRRUS_REPO_OWNER == 'wezterm' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock') && $BRANCH == 'main'"\n arm_container:\n image: debian:12\n cpu: 4\n memory: 12G\n environment:\n GITHUB_TOKEN: ENCRYPTED[!0dfc9f7314ab2500c7f72cc957d0b76940404eb8503a8cd5c4bf8a90515dfb5952ce4794bd7434002fdcc57ebf1667e0!]\n\n stateful: false\n install_rust_script:\n - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections\n - apt update\n - apt-get install -y git curl\n - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\n install_gh_cli_script:\n - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg\n - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list\n - apt update\n - apt install gh -y\n - gh --version\n getdeps_script:\n - env PATH=$HOME/.cargo/bin:$PATH bash get-deps\n build_script:\n - env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes\n - export BUILD_REASON="Schedule"\n - export RELEASE="nightly"\n - "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""\n - "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"\n - "./ci/deploy.sh"\n - "ls -l *.deb"\n - "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"\n
dataset_sample\yaml\wezterm_wezterm\.cirrus.yml
.cirrus.yml
YAML
6,171
0.8
0.015152
0
react-lib
821
2025-03-30T21:43:41.359613
Apache-2.0
false
095dac317921ad033bb0af0c03150ef4
# This file declares MediaWiki scenarios for Fresnel, a web page performance\n# monitoring tool. See <https://wikitech.wikimedia.org/wiki/Performance/Fresnel>.\n\nwarmup: true\nruns: 7\nscenarios:\n Read a page:\n # The only page that exists by default is the main page.\n # But its actual name is configurable/unknown (T216791).\n # Omit 'title' to let MediaWiki show the default (which is the main page),\n # and a query string to prevent a normalization redirect.\n url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?noredirectplz"\n viewport:\n width: 1100\n height: 700\n reports:\n - navtiming\n - paint\n - transfer\n probes:\n - screenshot\n - trace\n Load the editor:\n url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?action=edit"\n viewport:\n width: 1100\n height: 700\n reports:\n - navtiming\n - paint\n - transfer\n probes:\n - screenshot\n - trace\n View history of a page:\n url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?action=history"\n viewport:\n width: 1100\n height: 700\n reports:\n - navtiming\n - paint\n - transfer\n probes:\n - screenshot\n - trace\n View recent changes:\n url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?title=Special:RecentChanges"\n viewport:\n width: 1100\n height: 700\n reports:\n - navtiming\n - paint\n - transfer\n probes:\n - screenshot\n - trace\n
dataset_sample\yaml\wikimedia_mediawiki\.fresnel.yml
.fresnel.yml
YAML
1,431
0.8
0.017241
0.105263
react-lib
847
2024-10-11T19:41:06.349831
Apache-2.0
false
c6c04cc89ca2b2aedc4a3b7523d90cc0
# Please see DEVELOPERS.md for help\n#\n# Contributions to this file are welcome, but please note that this file is\n# minimal by design, with the idea to make it easily extensible via\n# docker-compose.override.yml. For help with doing that, please see\n# DEVELOPERS.md\nservices:\n mediawiki:\n image: docker-registry.wikimedia.org/dev/bookworm-php83-fpm:1.0.0\n user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"\n volumes:\n - ./:/var/www/html/w:cached\n env_file:\n - '.env'\n environment:\n COMPOSER_CACHE_DIR: '/var/www/html/w/cache/composer'\n MW_SERVER: 'http://localhost:${MW_DOCKER_PORT:-8080}'\n MW_DOCKER_PORT: "${MW_DOCKER_PORT:-8080}"\n MW_SCRIPT_PATH: '/w'\n MW_DBPATH: '/var/www/html/w/cache/sqlite'\n MW_DBTYPE: 'sqlite'\n MW_LANG: 'en'\n MW_USER: '${MEDIAWIKI_USER:-Admin}'\n MW_PASS: '${MEDIAWIKI_PASSWORD:-dockerpass}'\n MW_SITENAME: 'MediaWiki'\n MW_LOG_DIR: /var/www/html/w/cache\n XDEBUG_CONFIG: '${XDEBUG_CONFIG}'\n XDEBUG_ENABLE: '${XDEBUG_ENABLE:-true}'\n XHPROF_ENABLE: '${XHPROF_ENABLE:-true}'\n\n mediawiki-web:\n image: docker-registry.wikimedia.org/dev/bookworm-apache2:1.0.1\n user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"\n ports:\n - "${MW_DOCKER_PORT:-8080}:8080"\n volumes:\n - ./:/var/www/html/w:cached\n env_file:\n - '.env'\n environment:\n MW_LOG_DIR: /var/www/html/w/cache\n MW_DOCKER_PORT: "${MW_DOCKER_PORT:-8080}"\n\n mediawiki-jobrunner:\n image: docker-registry.wikimedia.org/dev/bookworm-php83-jobrunner:1.0.0\n user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"\n volumes:\n - ./:/var/www/html/w:cached\n env_file:\n - '.env'\n environment:\n MW_LOG_DIR: /var/www/html/w/cache\n MW_INSTALL_PATH: /var/www/html/w\n
dataset_sample\yaml\wikimedia_mediawiki\docker-compose.yml
docker-compose.yml
YAML
1,763
0.8
0.018868
0.117647
awesome-app
935
2024-11-24T05:53:23.299356
MIT
false
5dda7607f32e74f5e47e6e168e6d3035
ignore:\n - "vendor/"\n - "sample_files/"\n\ncoverage:\n range: 40...60\n status:\n patch: off\n project:\n default:\n informational: true\n\n# Don't leave comments on PRs\ncomment: false\n
dataset_sample\yaml\Wilfred_difftastic\.codecov.yml
.codecov.yml
YAML
197
0.8
0
0.083333
vue-tools
703
2023-11-18T14:37:15.300869
MIT
false
6b42b7cf299a67ca8ea4c4a00b72d4c5
name: Coverage\n\non: [pull_request, push]\n\njobs:\n coverage:\n runs-on: ubuntu-22.04\n steps:\n - uses: actions/checkout@v4\n\n - name: Install Rust\n run: rustup toolchain install stable --component llvm-tools-preview\n - name: Install cargo-llvm-cov\n uses: taiki-e/install-action@cargo-llvm-cov\n\n - name: Generate code coverage\n run: cargo +stable llvm-cov --all-features --workspace --lcov --output-path lcov.info\n - name: Upload coverage to Codecov\n uses: codecov/codecov-action@v5\n with:\n files: lcov.info\n fail_ci_if_error: false\n
dataset_sample\yaml\Wilfred_difftastic\.github\workflows\coverage.yml
coverage.yml
YAML
612
0.7
0
0
vue-tools
686
2023-10-27T07:58:49.845499
Apache-2.0
false
9376649f9dcc3e0496219a10e20e9f46
name: Deploy Manual\n\non:\n push:\n branches:\n - master\n\njobs:\n pre_deploy:\n runs-on: ubuntu-22.04\n\n outputs:\n should_skip: ${{ steps.skip_check.outputs.should_skip }}\n steps:\n - id: skip_check\n uses: fkirc/skip-duplicate-actions@v5\n with:\n concurrent_skipping: always\n\n deploy:\n needs: pre_deploy\n if: needs.pre_deploy.outputs.should_skip != 'true'\n runs-on: ubuntu-22.04\n steps:\n - uses: actions/checkout@v4\n\n - name: Install jq\n run: sudo apt-get install -y jq\n\n - uses: dtolnay/rust-toolchain@1.66.0\n - run: cargo doc\n\n - name: Setup mdBook\n uses: peaceiris/actions-mdbook@v2\n with:\n mdbook-version: '0.4.40'\n\n - name: Build manual\n run: mdbook build\n working-directory: manual\n\n - name: Build translated manual\n run: mdbook build\n working-directory: translation/zh-CN/manual-zh-CN\n\n - name: Add rustdoc output\n run: cp -r target/doc manual/book/rustdoc\n\n - name: Add translated manual output\n run: cp -r translation/zh-CN/manual-zh-CN/book manual/book/zh-CN\n\n - name: Add homepage\n run: cp -r homepage/* manual/book/\n\n - name: Deploy to GitHub pages\n uses: JamesIves/github-pages-deploy-action@v4.6.4\n with:\n branch: gh-pages\n folder: manual/book\n single-commit: true\n force: true\n
dataset_sample\yaml\Wilfred_difftastic\.github\workflows\deploy_docs.yml
deploy_docs.yml
YAML
1,432
0.8
0.016393
0
react-lib
279
2024-12-24T00:58:51.322965
MIT
false
0386fe056d5e560471f2cfaf397de751
name: Release\n\non:\n push:\n tags:\n - "[0-9]+.*"\n\njobs:\n create-release:\n runs-on: ubuntu-22.04\n steps:\n - uses: actions/checkout@v4\n - uses: taiki-e/create-gh-release-action@v1\n with:\n # Create a draft release so we can add the changelog before publishing it\n # so the changelog is included in the release email\n draft: true\n env:\n # (required)\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n upload-assets:\n strategy:\n fail-fast: false\n matrix:\n include:\n # Targets that match the OS of the runner.\n - target: x86_64-unknown-linux-gnu\n os: ubuntu-22.04\n - target: x86_64-apple-darwin\n os: macos-13\n - target: x86_64-pc-windows-msvc\n os: windows-latest\n\n # Targets using cross-compilation (upload-rust-binary-action\n # detects that they need cross).\n - target: x86_64-unknown-linux-musl\n os: ubuntu-22.04\n - target: aarch64-unknown-linux-gnu\n os: ubuntu-22.04\n - target: aarch64-apple-darwin\n os: macos-latest\n runs-on: ${{ matrix.os }}\n steps:\n - uses: actions/checkout@v4\n - uses: taiki-e/upload-rust-binary-action@v1\n with:\n bin: difft\n # (optional) On which platform to distribute the `.tar.gz` file.\n tar: unix\n # (optional) On which platform to distribute the `.zip` file.\n zip: windows\n # (optional) Target triple, default is host triple.\n target: ${{ matrix.target }}\n env:\n # (required)\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n push_crates_io:\n runs-on: ubuntu-22.04\n steps:\n - uses: actions/checkout@v4\n - uses: katyo/publish-crates@v2\n with:\n registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}\n
dataset_sample\yaml\Wilfred_difftastic\.github\workflows\release.yml
release.yml
YAML
1,903
0.95
0
0.166667
vue-tools
158
2024-07-10T04:40:08.715569
Apache-2.0
false
6bb28ce2eee9cf707215d2d19cd76580
name: CI\non:\n push:\n branches: [master]\n pull_request:\n branches: [master]\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v1\n with:\n node-version: '16'\n - name: Install dependencies\n run: npm ci\n - name: Run tests\n run: npm test\n - name: Parse Petalisp\n run: |\n git submodule init\n git submodule update\n if (( $(node_modules/tree-sitter-cli/tree-sitter parse test/Petalisp/**/*.lisp -q | wc -l) > 2 )); then # There are 2 known failures (strings that are not format strings but use ~X syntax)\n exit 1 \n else\n echo "Successfully parsed Petalisp."\n fi\n if (( $(node_modules/tree-sitter-cli/tree-sitter parse test/sly/**/*.lisp -q | wc -l) > 4 )); then # There are 2 known failures (strings that are not format strings but use ~X syntax)\n exit 1 \n else\n echo "Successfully parsed Sly"\n fi\n - name: Run tests\n run: npm test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-commonlisp\.github\workflows\ci.yml
ci.yml
YAML
1,081
0.8
0.058824
0
node-utils
349
2023-10-08T23:47:22.578847
Apache-2.0
false
07dcd527da506a3ba79e3b2db457a53c
name: Lint\n\non:\n push:\n branches:\n - main\n pull_request:\n branches:\n - '**'\n\njobs:\n lint:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Install modules\n run: npm install\n - name: Run Prettier\n run: npm run prettier:check\n - name: Run ESLint\n run: npm run lint\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-devicetree\.github\workflows\lint.yml
lint.yml
YAML
350
0.7
0
0
node-utils
141
2024-05-23T15:46:35.443982
Apache-2.0
false
5cedf1b420e4b6248c14ffb40ce848b6
name: Node.js CI\n\non:\n push:\n branches: [ main ]\n pull_request:\n branches: [ main ]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n\n strategy:\n matrix:\n node-version: [15.x]\n\n steps:\n - uses: actions/checkout@v2\n - name: Use Node.js ${{ matrix.node-version }}\n uses: actions/setup-node@v2\n with:\n node-version: ${{ matrix.node-version }}\n - run: npm ci\n - run: npm run build --if-present\n - run: npm test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-elisp\.github\workflows\main.yml
main.yml
YAML
476
0.7
0.038462
0
vue-tools
136
2024-01-30T05:34:15.340320
BSD-3-Clause
false
172b77d12b1ff62392856278564401dd
# To get started with Dependabot version updates, you'll need to specify which\n# package ecosystems to update and where the package manifests are located.\n# Please see the documentation for all configuration options:\n# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates\n\nversion: 2\nupdates:\n - package-ecosystem: "npm" \n directory: "/" \n schedule:\n interval: "daily"\n - package-ecosystem: "cargo"\n directory: "/" \n schedule:\n interval: "daily"\n - package-ecosystem: "github-actions"\n directory: "/"\n schedule:\n interval: "daily"\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-elm\.github\dependabot.yml
dependabot.yml
YAML
617
0.8
0.105263
0.222222
react-lib
739
2024-04-12T16:21:14.565985
BSD-3-Clause
false
260ce6e3acfaa0970cb5de05e3ae3980
name: Fuzz Parser\n\non:\n push:\n paths:\n - src/scanner.c\n pull_request:\n paths:\n - src/scanner.c\n workflow_dispatch:\n\njobs:\n test:\n name: Parser fuzzing\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: vigoux/tree-sitter-fuzz-action@v1\n with:\n language: elm\n external-scanner: src/scanner.c\n time: 60\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-elm\.github\workflows\fuzz.yml
fuzz.yml
YAML
393
0.7
0
0
python-kit
323
2023-07-27T10:45:45.250351
MIT
false
08440dc10119860b923092b908de5695
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created\n# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages\n\nname: Node.js Package\n\non:\n release:\n types: [created]\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-node@v4\n with:\n node-version: 18\n - run: npm i\n - run: npm run build\n - run: npm run test-only\n\n publish-npm:\n needs: build\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-node@v4\n with:\n node-version: 18\n registry-url: https://registry.npmjs.org/\n - run: npm i\n - run: npm run build\n - run: npm publish\n env:\n NODE_AUTH_TOKEN: ${{secrets.npm_token}}\n\n publish-gpr:\n needs: build\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-node@v4\n with:\n node-version: 18\n registry-url: https://npm.pkg.github.com/\n - run: npm i\n - run: npm run build\n - run: npm publish\n env:\n NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-elm\.github\workflows\npm-publish.yml
npm-publish.yml
YAML
1,272
0.8
0
0.044444
react-lib
929
2025-01-24T22:56:49.067390
BSD-3-Clause
false
dfed12505add1729e2a0e6f538535e55
name: Publish crates.io\n\non:\n release:\n types: [created]\n\njobs:\n cargo:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - run: cargo login ${CRATES_IO_TOKEN}\n env:\n CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}\n - run: cargo publish\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-elm\.github\workflows\publish.yml
publish.yml
YAML
371
0.7
0
0
vue-tools
2
2024-01-21T00:25:14.482769
MIT
false
b298e55371b378e86f57d7fb66dad83c
name: Validate that changes doesn't break elm-language-server\n\non:\n push:\n branches:\n - main\n pull_request:\n branches:\n - main\n\njobs:\n test:\n runs-on: ${{ matrix.os }}\n\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest]\n node-version: [18, 20]\n\n steps:\n - uses: actions/checkout@v4\n with:\n path: "tree-sitter-elm"\n - uses: actions/checkout@v4\n name: Checkout main branch of elm-language-server\n with:\n repository: "elm-tooling/elm-language-server"\n path: "elm-language-server"\n - name: Install tree-sitter dependencies and generate wasm bundle\n run: |\n cd tree-sitter-elm/\n npm i\n npm run build\n npx tree-sitter build-wasm\n mv ./tree-sitter-elm.wasm ../elm-language-server/tree-sitter-elm.wasm -f\n\n - name: Install elm-language-server dependencies, compile, and run tests\n run: |\n cd elm-language-server/\n npm i\n npm run compile\n npm install -g elm-format\n npm test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-elm\.github\workflows\validate-lsp.yml
validate-lsp.yml
YAML
1,098
0.7
0
0
python-kit
765
2024-11-03T23:46:48.243596
BSD-3-Clause
false
751282007a680171197a07a9ce141edc
name: Build/test\non:\n pull_request:\n branches:\n - "**"\n push:\n branches:\n - "main"\njobs:\n test:\n runs-on: ${{ matrix.os }}\n strategy:\n fail-fast: true\n matrix:\n os: [macos-latest, ubuntu-latest, windows-latest]\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: 16\n - run: npm ci\n - run: npm test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-erlang\.github\workflows\ci.yml
ci.yml
YAML
417
0.7
0
0
node-utils
134
2023-11-27T14:02:54.843253
MIT
false
a17a5af21e3104eb4835a48753aa2018
name: CI\n\non: [push, pull_request]\n\njobs:\n test:\n name: Test\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout\n uses: actions/checkout@v2\n\n - name: Install Node\n uses: actions/setup-node@v2\n with:\n node-version: "14.x"\n\n - name: Cache npm dependencies\n uses: actions/cache@v2\n with:\n path: ~/.npm\n key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n restore-keys: |\n ${{ runner.os }}-node-\n\n - name: Install npm dependencies\n run: npm ci\n\n - name: Ensure generated parser files are up to date\n run: npx tree-sitter generate\n\n - name: Run tree-sitter tests\n run: npx tree-sitter test\n\n - name: Check formatting\n run: npm run check-formatted\n\n integration-test:\n name: Integration Test\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout\n uses: actions/checkout@v2\n\n - name: Install Node\n uses: actions/setup-node@v2\n with:\n node-version: "14.x"\n\n - name: Cache npm dependencies\n uses: actions/cache@v2\n with:\n path: ~/.npm\n key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n restore-keys: |\n ${{ runner.os }}-node-\n\n - name: Install npm dependencies\n run: npm ci\n\n - name: Ensure generated parser files are up to date\n run: npx tree-sitter generate\n\n - name: Run integration tests\n run: ./scripts/integration_test.sh\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-gleam\.github\workflows\ci.yml
ci.yml
YAML
1,549
0.7
0
0
node-utils
818
2023-10-13T16:58:37.019772
Apache-2.0
false
e59bd3a013c7e0bc649b23ad9b66b48a
# generates the parser with 'tree-sitter generate' if the parser is out of date\nname: Generate Parser\n\non:\n push:\n branches:\n - main\n\njobs:\n generate:\n name: Generate Parser\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout\n uses: actions/checkout@v2\n\n - name: Install Node\n uses: actions/setup-node@v2\n with:\n node-version: "14.x"\n\n - name: Cache npm dependencies\n uses: actions/cache@v2\n with:\n path: ~/.npm\n key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n restore-keys: |\n ${{ runner.os }}-node-\n\n - name: Install npm dependencies\n run: npm ci\n\n - name: Generate parser files\n run: npx tree-sitter generate\n\n - name: Commit generated parser files\n run: |\n git config --local user.email "$(git log --format='%ae' HEAD^!)"\n git config --local user.name "$(git log --format='%an' HEAD^!)"\n git add src\n git commit -m "Generate parser" || true\n git push\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-gleam\.github\workflows\generate-parser.yml
generate-parser.yml
YAML
1,072
0.8
0.023256
0.028571
python-kit
873
2025-03-30T04:19:45.179477
BSD-3-Clause
false
c7b6b91af904548236082e2840e05b5d
name: release\non:\n push:\n tags:\n - "v*"\n\njobs:\n build-release:\n name: build-release\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n os:\n - macos-latest\n - ubuntu-latest\n steps:\n - name: Checkout Repository\n uses: actions/checkout@v2\n\n - name: Install Node\n uses: actions/setup-node@v2\n with:\n node-version: "14.x"\n\n - name: Install npm dependencies\n run: npm ci\n\n - name: Ensure generated parser files are up to date\n run: npx tree-sitter generate\n\n - name: Ensure tests pass\n run: npx tree-sitter test\n\n - name: Compile library file\n run: cc -shared -fPIC -g -O2 -I src src/parser.c src/scanner.c -o tree-sitter-gleam.so\n\n - name: Create archive\n run: |\n VERSION="${GITHUB_REF#refs/tags/}"\n case ${{ matrix.os }} in\n "ubuntu-latest") FAMILY="linux";;\n "macos-latest") FAMILY="macos";;\n esac\n ARCHIVE="tree-sitter-gleam-$VERSION-$FAMILY.tar.gz"\n\n tar -czf $ARCHIVE tree-sitter-gleam.so\n\n echo "ASSET=$ARCHIVE" >> $GITHUB_ENV\n\n - name: Upload release archive\n uses: softprops/action-gh-release@v1\n with:\n token: ${{ secrets.GITHUB_TOKEN }}\n draft: true\n prerelease: false\n fail_on_unmatched_files: true\n files: |\n ${{ env.ASSET }}\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-gleam\.github\workflows\release.yml
release.yml
YAML
1,433
0.8
0
0
react-lib
724
2024-08-22T13:27:40.977137
MIT
false
a2137f99289d88be8e629ce7bc1667c2
blank_issues_enabled: false\ncontact_links:\n - name: Code of Conduct\n url: https://slackhq.github.io/code-of-conduct\n about: Code of Conduct\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-hack\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
147
0.8
0
0
vue-tools
135
2025-02-07T17:47:32.450253
BSD-3-Clause
false
bd3097dfe75d40aa745d26ddd8c23ab8
name: Build/test\non:\n pull_request:\n branches:\n - "**"\n push:\n branches:\n - "main"\njobs:\n test_ubuntu:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: 14\n - run: npm install\n - run: npm test\n test_macos:\n runs-on: macos-latest\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: 14\n - run: brew install gnu-sed\n - run: npm install\n - run: npm test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-hack\.github\workflows\ci.yml
ci.yml
YAML
561
0.7
0
0
node-utils
141
2025-01-12T08:11:39.455398
MIT
false
b538e66150f950368e5aaac4a6828ee1
name: validate\non:\n pull_request:\n branches:\n - "**"\n push:\n branches:\n - "main"\njobs:\n check-build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: 14\n - run: npm install\n - run: npm run build\n - name: Generate corpus\n run: "${GITHUB_WORKSPACE}/bin/generate-corpus"\n shell: bash\n - name: Check for changes\n run: "${GITHUB_WORKSPACE}/.github/workflows/validate.sh"\n shell: bash\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-hack\.github\workflows\validate.yml
validate.yml
YAML
543
0.7
0.041667
0
react-lib
366
2024-10-01T06:43:45.332035
Apache-2.0
false
167006f305a75807a4759296be0f4a08
ci-cd:\n- .github/**/*\n\ngrammar:\n- grammar.js\n\nbindings:\n- bindings/**/*\n\nexamples:\n- examples/**/*\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\labeler.yml
labeler.yml
YAML
99
0.6
0
0
node-utils
12
2024-12-08T11:46:19.241769
MIT
false
b6006b13094c951b92576e4d045ac3d0
name: Build\n\non:\n push:\n branches:\n - main\n pull_request:\n workflow_dispatch:\n\njobs:\n build:\n runs-on: ubuntu-latest\n env:\n EMSCRIPTEN_VERSION: '2.0.17'\n steps:\n - uses: actions/checkout@v3\n - name: Set up Node\n uses: actions/setup-node@v3\n with:\n node-version: '18'\n - name: Install Emscripten\n uses: mymindstorm/setup-emsdk@v12\n with:\n version: ${{ env.EMSCRIPTEN_VERSION }}\n - name: Install dependencies\n run: npm install\n - name: Generate parser\n run: npm run generate\n - name: Verify that generated parser matches the repository\n run: |\n diff=`git diff HEAD -- src`\n echo "$diff"\n test -z "$diff"\n - name: Run tests\n run: npm test\n - name: Build WASM binary\n run: npm run build-wasm\n - name: Upload WASM binary\n uses: actions/upload-artifact@v3\n with:\n name: tree-sitter-kotlin.wasm\n path: ./tree-sitter-kotlin.wasm\n - name: Set up Rust\n uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Build and test crate\n uses: actions-rs/cargo@v1\n with:\n command: test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\workflows\build.yml
build.yml
YAML
1,243
0.7
0
0
node-utils
961
2023-12-27T04:24:53.252679
Apache-2.0
false
cf52826100e67e61e6559f5e2bcd7ff9
name: Deploy to crates.io\non:\n push:\n tags:\n - '*'\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Node\n uses: actions/setup-node@v3\n with:\n node-version: '18'\n - name: Install dependencies\n run: npm install\n - name: Compile grammar\n run: npm run generate\n - name: Set up Rust\n uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Publish to crates.io\n uses: actions-rs/cargo@v1\n with:\n command: publish\n args: --token ${{ secrets.CRATES_IO_TOKEN }}\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\workflows\deploy-to-crates-io.yml
deploy-to-crates-io.yml
YAML
645
0.7
0
0
node-utils
878
2023-12-11T09:55:32.494929
GPL-3.0
false
ee64248219275194b7733d7866c254c8
name: Deploy to GitHub\non:\n push:\n tags:\n - '*'\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n env:\n EMSCRIPTEN_VERSION: '2.0.17'\n steps:\n - uses: actions/checkout@v3\n - name: Set up Node\n uses: actions/setup-node@v3\n with:\n node-version: '18'\n - name: Install Emscripten\n uses: mymindstorm/setup-emsdk@v12\n with:\n version: ${{ env.EMSCRIPTEN_VERSION }}\n - name: Install dependencies\n run: npm install\n - name: Compile grammar\n run: npm run generate\n - name: Build WASM binary\n run: npm run build-wasm\n - name: Deploy to GitHub Releases\n uses: ncipollo/release-action@v1\n with:\n artifacts: tree-sitter-kotlin.wasm\n token: ${{ secrets.GITHUB_TOKEN }}\n - name: Set up folder for GitHub Pages deployment\n run: |\n mkdir public\n cp tree-sitter-kotlin.wasm public/tree-sitter-parser.wasm\n - name: Deploy to GitHub Pages\n uses: peaceiris/actions-gh-pages@v3\n with:\n github_token: ${{ secrets.GITHUB_TOKEN }}\n publish_dir: ./public\n keep_files: true\n user_name: 'github-actions[bot]'\n user_email: 'github-actions[bot]@users.noreply.github.com'\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\workflows\deploy-to-github.yml
deploy-to-github.yml
YAML
1,282
0.7
0.022727
0
vue-tools
774
2024-12-25T01:30:17.189776
BSD-3-Clause
false
065311ed1a3c960c6d4e768129510874
name: Deploy to NPM\non:\n push:\n tags:\n - '*'\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Node\n uses: actions/setup-node@v3\n with:\n node-version: '18'\n registry-url: 'https://registry.npmjs.org'\n - name: Install dependencies\n run: npm install\n - name: Compile grammar\n run: npm run generate\n - name: Publish to npm\n run: npm publish\n env:\n NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\workflows\deploy-to-npm.yml
deploy-to-npm.yml
YAML
540
0.8
0
0
python-kit
395
2025-05-20T02:17:30.370061
BSD-3-Clause
false
4815733dd0b2c564e448a643e079a02a
name: "Pull Request Labeler"\n\non:\n- pull_request_target\n\njobs:\n triage:\n permissions:\n contents: read\n pull-requests: write\n\n runs-on: ubuntu-latest\n steps:\n - uses: actions/labeler@v4\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\workflows\labeler.yml
labeler.yml
YAML
208
0.7
0
0
react-lib
104
2024-03-25T23:20:35.885583
BSD-3-Clause
false
789383c21d85d8a7cfe410d1f1f1aca7
name: Regenerate Parser\n\non:\n workflow_dispatch:\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Configure Git user\n run: |\n git config --global user.name "github-actions[bot]"\n git config --global user.email "github-actions[bot]@users.noreply.github.com"\n - name: Set up Node\n uses: actions/setup-node@v3\n with:\n node-version: '18'\n - name: Install dependencies\n run: npm install\n - name: Generate parser\n run: npm run generate\n - name: Commit the updated parser\n run: |\n git add src\n git commit -m "Regenerate the parser ($(git rev-parse --short HEAD))"\n git push\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-kotlin\.github\workflows\regenerate-parser.yml
regenerate-parser.yml
YAML
737
0.7
0
0
react-lib
291
2024-02-27T17:18:55.530770
Apache-2.0
false
53d13e27013700bdffcc3e5b3ff5392d
version: 2\nupdates:\n - package-ecosystem: cargo\n directory: '/'\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n - package-ecosystem: npm\n directory: '/'\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n - package-ecosystem: github-actions\n directory: '/'\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-latex\.github\dependabot.yml
dependabot.yml
YAML
378
0.7
0
0
python-kit
719
2023-10-23T08:29:24.161635
Apache-2.0
false
0d6fadf442a58031d99f45a8a32c5de1
name: CI\n\non:\n push:\n branches: [master]\n paths:\n - grammar.js\n - src/**\n - test/**\n - bindings/**\n - binding.gyp\n pull_request:\n paths:\n - grammar.js\n - src/**\n - test/**\n - bindings/**\n - binding.gyp\n\nconcurrency:\n group: ${{github.workflow}}-${{github.ref}}\n cancel-in-progress: true\n\njobs:\n test:\n name: Test parser\n runs-on: ${{matrix.os}}\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest, windows-latest, macos-14]\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n - name: Set up tree-sitter\n uses: tree-sitter/setup-action/cli@v2\n - name: Run parser and binding tests\n uses: tree-sitter/parser-test-action@v2\n with:\n generate: true\n - name: Parse sample files\n uses: tree-sitter/parse-action@v4\n id: parse-files\n with:\n files: examples/**\n - name: Upload failures artifact\n uses: actions/upload-artifact@v4\n if: "!cancelled() && steps.parse-files.outcome == 'failure'"\n with:\n name: failures-${{runner.os}}\n path: ${{steps.parse-files.outputs.failures}}\n fuzz:\n name: Fuzz scanner\n runs-on: ubuntu-latest\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n with:\n fetch-depth: 2\n - name: Check for scanner changes\n id: scanner-check\n run: |-\n if git diff --quiet HEAD^ -- src/scanner.c; then\n printf 'changed=false\n' >> "$GITHUB_OUTPUT"\n else\n printf 'changed=true\n' >> "$GITHUB_OUTPUT"\n fi\n - name: Set up tree-sitter\n uses: tree-sitter/setup-action/cli@v2\n if: steps.scanner-check.outputs.changed == 'true'\n - name: Run parser and binding tests\n uses: tree-sitter/parser-test-action@v2\n with:\n generate: true\n if: steps.scanner-check.outputs.changed == 'true'\n - name: Run the fuzzer\n uses: tree-sitter/fuzz-action@v4\n if: steps.scanner-check.outputs.changed == 'true'\n size:\n name: Check grammar size\n runs-on: ubuntu-latest\n if: github.ref != 'refs/heads/master'\n steps:\n - name: Checkout old version\n uses: actions/checkout@v4\n with:\n ref: master\n path: old\n - name: Checkout new version\n uses: actions/checkout@v4\n with:\n path: new\n - name: Set up tree-sitter\n uses: tree-sitter/setup-action/cli@v2\n - name: Generate parser.c for old version\n run: tree-sitter generate --no-bindings\n working-directory: old\n - name: Generate parser.c for new version\n run: tree-sitter generate --no-bindings\n working-directory: new\n - name: Check LARGE_STATE_COUNT\n run: |\n old_size=$(cat old/src/parser.c | grep '#define LARGE_STATE_COUNT' | sed 's/#define LARGE_STATE_COUNT //g')\n new_size=$(cat new/src/parser.c | grep '#define LARGE_STATE_COUNT' | sed 's/#define LARGE_STATE_COUNT //g')\n\n echo "Checking LARGE_STATE_COUNT"\n echo "Old: $old_size"\n echo "New: $new_size"\n max_size=$(echo "$old_size" "1.2" | awk '{print $1 * $2}' | cut -d "." -f 1)\n\n if (( $new_size > $max_size )); then\n echo "LARGE_STATE_COUNT increased by more than 20%"\n exit 1\n fi\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-latex\.github\workflows\ci.yml
ci.yml
YAML
3,431
0.8
0.087719
0
python-kit
398
2023-07-28T17:20:55.522976
MIT
false
cb62b56a1d98025cb994140df7ab1b91
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created\n# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages\n\nname: Node.js Package\n\non:\n release:\n types: [created]\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v3\n with:\n node-version: 16\n - run: npm ci\n - run: npm test\n\n publish-gpr:\n needs: build\n runs-on: ubuntu-latest\n permissions:\n contents: read\n packages: write\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v3\n with:\n node-version: 16\n registry-url: https://npm.pkg.github.com/\n scope: "@ganezdragon"\n - run: npm ci\n - run: npm publish\n env:\n NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-perl\.github\workflows\npm-publish-github-packages.yml
npm-publish-github-packages.yml
YAML
928
0.8
0
0.060606
awesome-app
434
2024-05-04T16:19:50.353853
Apache-2.0
false
1097e22684a84434c2cf7a24da582b6d
name: CI\n\non:\n push:\n branches: [ dev ]\n pull_request:\n branches: [ dev ]\n\njobs:\n test:\n runs-on: ubuntu-latest\n strategy:\n fail-fast: true\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: '14'\n - name: Install dependencies (gyp would fail)\n run: npm install || true\n - name: Generate parser sources\n run: make generate\n - name: Install dependencies (again to run gyp rebuild)\n run: npm install\n - name: Run tests\n run: npm test\n - name: Run cargo tests\n run: cargo test\n - name: Parse examples\n run: make fetch-examples parse-examples\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-qmljs\.github\workflows\ci.yml
ci.yml
YAML
666
0.7
0
0
vue-tools
259
2024-01-17T23:05:02.354399
GPL-3.0
false
3d499bd9fdf6cc14478b56aaa0e00cae
name: Package\n\non:\n push:\n branches: [ master ]\n\njobs:\n test-regenerate:\n runs-on: ubuntu-latest\n strategy:\n fail-fast: true\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: '14'\n - name: Install dependencies\n run: npm install\n - name: Regenerate parser sources\n run: make generate\n - name: Verify generated sources\n run: git diff --exit-code\n\n test-without-regenerate:\n runs-on: ubuntu-latest\n strategy:\n fail-fast: true\n steps:\n - uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: '14'\n - name: Install dependencies\n run: npm install\n - name: Run tests\n run: npm test\n - name: Run cargo tests\n run: cargo test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-qmljs\.github\workflows\package.yml
package.yml
YAML
800
0.7
0
0
python-kit
918
2024-06-29T08:31:12.897519
MIT
false
96e2a14207bee556e85a236ad2275a45
# https://github.com/TryGhost/node-sqlite3/blob/master/.github/workflows/ci.yml\nname: CI\non:\n workflow_dispatch:\n push:\n tags:\n - "*"\nenv:\n FORCE_COLOR: 1\njobs:\n build:\n runs-on: ${{ matrix.os }}\n strategy:\n fail-fast: false\n matrix:\n os:\n - macos-latest\n - ubuntu-latest\n - windows-latest\n host:\n - x64\n target:\n - x64\n node:\n - 14\n - 16\n - 18\n # include:\n # - os: macos-m1\n # node: 16\n # host: arm64\n # target: arm64\n name: ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }})\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v3\n with:\n node-version: ${{ matrix.node }}\n architecture: ${{ matrix.host }}\n\n - name: Npm install tree-sitter\n run: |\n npm i tree-sitter\n - name: Tree-sitter build\n run: |\n npm run build\n - name: Npm install/compile\n run: |\n npm install\n\n - name: Configure build\n run: npx node-pre-gyp configure --target_arch=${{ matrix.target }}\n\n - name: Build binaries\n run: npx node-pre-gyp build --target_arch=${{ matrix.target }}\n\n - name: Package prebuilt binaries\n run: npx node-pre-gyp package --target_arch=${{ matrix.target }}\n\n - name: Upload binaries to GitHub Release\n run: node ./scripts/ghPublish.mjs\n if: startsWith(github.ref, 'refs/tags/')\n env:\n NODE_PRE_GYP_GITHUB_TOKEN: ${{ github.token }}\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-sfapex\.github\workflows\publish-release.yml
publish-release.yml
YAML
1,639
0.8
0.015625
0.101695
awesome-app
359
2023-12-23T13:37:41.818730
GPL-3.0
false
6177f2f417c3d57339fb526226ec6345
image: fedora/latest\npackages:\n - nodejs\n - gcc\n - gcc-c++\nsources:\n - https://git.sr.ht/~yotam/tree-sitter-smali\ntasks:\n - install: |\n cd tree-sitter-smali\n npm install\n - lint: |\n cd tree-sitter-smali\n eslint grammar.js\n - build: |\n cd tree-sitter-smali\n npm run build\n - test: |\n cd tree-sitter-smali\n npm run test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-smali\.build.yml
.build.yml
YAML
358
0.8
0
0
awesome-app
695
2024-03-17T00:06:39.574539
Apache-2.0
false
cce1a16adae3f9d777b25771b9f9c857
name: CI\n\non:\n push:\n branches:\n - master\n pull_request:\n branches:\n - "**"\n\njobs:\n test:\n runs-on: ${{ matrix.os }}\n strategy:\n fail-fast: true\n matrix:\n os: [macos-latest, ubuntu-latest]\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v2\n with:\n node-version: 16\n - run: npm install\n - run: npm test\n\n test_windows:\n runs-on: windows-2019\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v2\n with:\n node-version: 16\n - run: npm install\n - run: npm run-script test-windows\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-smali\.github\workflows\ci.yml
ci.yml
YAML
631
0.7
0
0
python-kit
429
2024-09-20T04:56:22.401303
BSD-3-Clause
false
121ed150e582a86d8bcf7c56689b1dc3
name: Fuzz Parser\n\non:\n push:\n paths:\n - src/scanner.c\n pull_request:\n paths:\n - src/scanner.c\n workflow_dispatch:\n\njobs:\n test:\n name: Parser fuzzing\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: vigoux/tree-sitter-fuzz-action@v1\n with:\n language: smali\n external-scanner: src/scanner.c\n time: 60\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-smali\.github\workflows\fuzz.yml
fuzz.yml
YAML
395
0.7
0
0
node-utils
567
2024-02-07T10:53:11.081579
GPL-3.0
false
cf79f1d4b8b6f6b5898c641339dfe91e
name: Publish\n\non:\n pull_request:\n types: [closed]\n\npermissions:\n contents: write\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v3\n with:\n node-version: 16\n - run: npm install\n - run: npm test\n\n publish:\n if: github.event.pull_request.merged && startsWith(github.event.pull_request.title, 'chore(master):')\n needs: build\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n with:\n ref: ${{ github.event.pull_request.merge_commit_sha }}\n token: ${{ secrets.GITHUB_TOKEN }}\n - name: Extract version\n id: extract_version\n run: |\n PR_TITLE="${{ github.event.pull_request.title }}"\n VERSION=$(echo "$PR_TITLE" | grep -oP '(?<=release ).*$')\n echo "::set-output name=version::$VERSION"\n - name: Update versions\n run: |\n version="${{ steps.extract_version.outputs.version }}"\n repo_name="${{ github.repository }}"\n repo_name="${repo_name##*/}"\n\n git config user.name github-actions[bot]\n git config user.email github-actions[bot]@users.noreply.github.com\n git fetch origin master\n git checkout master\n\n sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/g" package.json\n sed -i "s/version = \"[^\"]*\"/version = \"$version\"/g" Cargo.toml\n sed -i "s/$repo_name = \"[^\"]*\"/$repo_name = \"$version\"/g" bindings/rust/README.md\n\n git add package.json Cargo.toml bindings/rust/README.md\n git commit -m "chore(manifests): bump version to $version"\n git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master\n - name: Setup Node.js\n uses: actions/setup-node@v3\n with:\n node-version: 16\n registry-url: https://registry.npmjs.org/\n - run: npm publish\n env:\n NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}\n - name: Setup Rust\n uses: actions-rs/toolchain@v1\n with:\n profile: minimal\n toolchain: stable\n override: true\n - name: Publish to Crates.io\n uses: katyo/publish-crates@v2\n with:\n registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}\n - uses: actions/checkout@v3\n - name: Tag stable versions\n run: |\n git config user.name github-actions[bot]\n git config user.email github-actions[bot]@users.noreply.github.com\n git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"\n git tag -d stable || true\n git push origin :stable || true\n git tag -a stable -m "Last Stable Release"\n git push origin stable\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-smali\.github\workflows\publish.yml
publish.yml
YAML
2,835
0.8
0.012346
0
vue-tools
683
2023-12-22T04:17:14.576211
Apache-2.0
false
b8a020e12715d38bebf078389ba15be9
name: Release\n\non:\n push:\n branches:\n - master\n workflow_dispatch:\n\npermissions:\n contents: write\n pull-requests: write\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-node@v3\n with:\n node-version: 16\n - run: npm install\n - run: npm test\n\n release:\n name: release\n if: ${{ github.ref == 'refs/heads/master' }}\n needs:\n - build\n runs-on: ubuntu-latest\n steps:\n - uses: google-github-actions/release-please-action@v3\n id: release\n with:\n release-type: simple\n package-name: tree-sitter-smali\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-smali\.github\workflows\release.yml
release.yml
YAML
654
0.7
0.028571
0
python-kit
595
2025-03-04T03:20:52.390212
MIT
false
0cacf9c497a519070ede6ea786d71c28
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions\n\nname: Node.js CI\n\non:\n push:\n branches: [ master ]\n pull_request:\n branches: [ master ]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n\n strategy:\n matrix:\n node-version: [12.x]\n\n steps:\n - uses: actions/checkout@v2\n - name: Use Node.js ${{ matrix.node-version }}\n uses: actions/setup-node@v1\n with:\n node-version: ${{ matrix.node-version }}\n - name: Install dependencies\n run: |\n npm install yarn -g\n npm install tree-sitter-cli -g \n - name: Generate tree-sitter parser\n run: tree-sitter generate\n - run: yarn\n - run: yarn test\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-solidity\.github\workflows\node.js.yml
node.js.yml
YAML
867
0.8
0
0.071429
node-utils
562
2025-04-13T13:36:19.686066
BSD-3-Clause
false
c5ad1727d8139a6c93988b4537e1e10b
on:\n push:\n branches: [ master ]\n pull_request:\n branches: [ master ]\n\nname: 🦀 Build and Test rust bindings\n\njobs:\n build_and_test:\n name: Rust project\n runs-on: ubuntu-latest\n steps:\n \n - name: 📥 Download the repository\n uses: actions/checkout@v2\n - name: 🦀 Install rust \n uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n\n - name: 📥 Setup node\n uses: actions/setup-node@v1\n with:\n node-version: 12\n\n - name: 📥 Install js dependencies\n run: |\n npm install yarn\n npm install tree-sitter-cli -g\n\n - name: 🌲 Generate the parser\n run: tree-sitter generate\n\n - name: 🛠 Build rust bindings\n uses: actions-rs/cargo@v1\n with:\n command: build\n args: --release --all-features\n\n # Run the tests\n - name: 🧪 Now run the rust tests\n uses: actions-rs/cargo@v1\n with:\n command: test
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-solidity\.github\workflows\rust.yml
rust.yml
YAML
1,004
0.8
0
0.027027
awesome-app
922
2024-03-29T15:20:46.593271
MIT
false
568e35a9a6f77084203f9f2cbe236cee
name: Node.js CI\n\non:\n push:\n branches: [ main ]\n pull_request:\n branches: [ main ]\n\njobs:\n build:\n\n runs-on: ${{ matrix.os }}\n\n strategy:\n matrix:\n os: [ubuntu-latest, windows-2019, macos-latest]\n node-version: [14.x, 16.x, 18.x]\n # See supported Node.js release schedule at https://nodejs.org/en/about/releases/\n\n steps:\n - uses: actions/checkout@v2\n - name: Use Node.js ${{ matrix.node-version }}\n uses: actions/setup-node@v2\n with:\n node-version: ${{ matrix.node-version }}\n - run: npm ci\n - run: npm run build --if-present\n - run: npx prettier --check .\n - run: npm run gen\n - name: Verify generated code\n if: runner.os == 'Linux'\n run: |\n if ! git diff --quiet --ignore-submodules -- src/\n then\n echo >&2 "Generated files in src/ differ, please run 'npm run gen' to update generated code"\n git diff-index --name-status -r --ignore-submodules HEAD src/ >&2\n exit 1\n fi\n - run: npm test\n - name: Parse real world examples (ignoring errors for now)\n continue-on-error: true\n run: npm acceptance\n\n compile:\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest, windows-latest, macos-latest]\n compiler: [gcc, clang++]\n\n name: compile\n runs-on: ${{ matrix.os }}\n steps:\n - uses: actions/checkout@v2\n\n - if: matrix.os == 'windows-latest' && matrix.compiler == 'gcc'\n uses: egor-tensin/setup-mingw@v2\n\n - name: build\n run: ${{ matrix.compiler }} -o scanner.o -I./src -c src/scanner.cc -Werror\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-sql\.github\workflows\node.js.yml
node.js.yml
YAML
1,644
0.8
0.083333
0.019608
node-utils
248
2023-10-22T10:05:27.127725
MIT
false
8d3608da11f7565dc5bd1119be12e837
name: Rust\n\non:\n push:\n branches: [ main ]\n pull_request:\n branches: [ main ]\n\nenv:\n CARGO_TERM_COLOR: always\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n\n steps:\n - uses: actions/checkout@v2\n - name: Build\n run: cargo build --verbose\n - name: Run tests\n run: cargo test --verbose\n
dataset_sample\yaml\Wilfred_difftastic\vendored_parsers\tree-sitter-sql\.github\workflows\rust.yml
rust.yml
YAML
312
0.7
0
0
react-lib
429
2024-03-04T18:01:22.693333
GPL-3.0
false
e5a9a16b9276983884cd8198ad762f28
name: Build\n\non:\n push:\n branches:\n - master\n\njobs:\n test:\n runs-on: [ self-hosted, macOS, ARM64 ]\n steps:\n - uses: actions/checkout@v3\n - name: Test\n run: make test\n\n build:\n name: Build ${{ matrix.os }} ${{ matrix.arch }}\n needs: test\n strategy:\n matrix:\n include:\n - os: macOS\n arch: ARM64\n runner: [ self-hosted, macOS, ARM64 ]\n asset_path: ./release/wox-mac-arm64.dmg\n asset_name: wox-mac-arm64.dmg\n content_type: application/x-elf\n needs_keychain: true\n - os: macOS\n arch: AMD64\n runner: [ self-hosted, macOS, X64 ]\n asset_path: ./release/wox-mac-amd64.dmg\n asset_name: wox-mac-amd64.dmg\n content_type: application/x-elf\n needs_keychain: true\n - os: Windows\n arch: AMD64\n runner: [ self-hosted, Windows ]\n asset_path: ./release/wox-windows-amd64.exe\n asset_name: wox-windows-amd64.exe\n content_type: application/x-msdownload\n - os: Linux\n arch: AMD64\n runner: [ self-hosted, Linux ]\n asset_path: ./release/wox-linux-amd64\n asset_name: wox-linux-amd64\n content_type: application/x-msdownload\n runs-on: ${{ matrix.runner }}\n steps:\n - uses: actions/checkout@v3\n - name: Build\n run: make build\n env:\n KEYCHAINPWD: ${{ matrix.needs_keychain && secrets.KEYCHAINPWD || '' }}\n - name: Upload artifact\n uses: actions/upload-artifact@v4\n with:\n name: ${{ matrix.asset_name }}\n path: ${{ matrix.asset_path }}\n retention-days: 3\n # - name: Deploy nightly release\n # uses: WebFreak001/deploy-nightly@v3.0.0\n # with:\n # upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label}\n # release_id: 127182165\n # asset_path: ${{ matrix.asset_path }}\n # asset_name: ${{ matrix.asset_name }}\n # asset_content_type: ${{ matrix.content_type }}\n # max_releases: 1\n
dataset_sample\yaml\Wox-launcher_Wox\.github\workflows\build.yml
build.yml
YAML
2,179
0.8
0
0.136364
react-lib
979
2024-05-30T19:46:02.217491
Apache-2.0
false
a648adbe9707787ccf1550b6bec56f1e
name: Update plugin store\n\non:\n push:\n branches:\n - master\n schedule:\n - cron: "0 */3 * * *"\n\njobs:\n build-macos-arm64:\n runs-on: [ self-hosted, macOS, ARM64 ]\n steps:\n - uses: actions/checkout@v3\n - name: Check plugin updates\n run: make plugins\n - name: Create Pull Request\n uses: peter-evans/create-pull-request@v6\n with:\n title: "[Bot] Update plugin store manifests"\n commit-message: "[Bot] Update plugin store manifests"\n branch: update-plugin-store\n add-paths: store-plugin.json\n reviewers: qianlifeng
dataset_sample\yaml\Wox-launcher_Wox\.github\workflows\plugin.yml
plugin.yml
YAML
607
0.7
0
0
awesome-app
65
2024-06-23T03:55:57.354169
BSD-3-Clause
false
61de260e918cbf5815f50caaa4f768e1
run:\n timeout: 3m\n\nlinters:\n enable:\n - vet\n - errcheck\n - staticcheck\n# - dupl\n# - funlen\n# - goconst\n# - gocritic\n - gofmt\n# - golint\n# - misspell\n# - stylecheck\n - unconvert\n# - whitespace\n
dataset_sample\yaml\wtfutil_wtf\.golangci.yml
.golangci.yml
YAML
225
0.8
0
0.470588
awesome-app
218
2025-05-31T15:48:17.359493
BSD-3-Clause
false
63dc0e770f4f6484f9cc4ea19825b17b
env:\n - GO111MODULE=on\n - GOPROXY="https://proxy.golang.org,direct"\n\narchives:\n - id: default\n wrap_in_directory: true\n\nbuilds:\n - binary: wtfutil\n goos:\n - darwin\n - linux\n goarch:\n - amd64\n - arm\n - arm64\n\nbefore:\n hooks:\n - make install\n\nbrews:\n -\n name: wtfutil\n homepage: 'https://wtfutil.com'\n description: 'The personal information dashboard for your terminal.'\n tap:\n owner: wtfutil\n name: homebrew-wtfutil\n
dataset_sample\yaml\wtfutil_wtf\.goreleaser.yml
.goreleaser.yml
YAML
480
0.8
0.033333
0
react-lib
1
2023-10-15T18:47:22.199765
BSD-3-Clause
false
db7f65aa8369d5e3f60691780a34f33d
language: go\n\ngo:\n - "1.19.x"\n\nbefore_install:\n # Make sure travis builds work for forks\n - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil\n - test ! -d $GOPATH/src/github.com/wtfutil/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil/wtf || true\n - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/wtfutil/wtf\n - cd $HOME/gopath/src/github.com/wtfutil/wtf\n - export GOPROXY="https://proxy.golang.org,direct"\n\nscript: go get ./... && ./scripts/check-uncommitted-vendor-files.sh && go test -v github.com/wtfutil/wtf/...\n
dataset_sample\yaml\wtfutil_wtf\.travis.yml
.travis.yml
YAML
547
0.8
0.071429
0.090909
react-lib
582
2025-07-08T02:38:49.232563
BSD-3-Clause
false
10c2b30e97ab00e566b36911aa871a05
version: 2\nupdates:\n- package-ecosystem: gomod\n directory: "/"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n reviewers:\n - senorprogrammer\n assignees:\n - senorprogrammer\n- package-ecosystem: "github-actions"\n directory: "/"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n reviewers:\n - senorprogrammer\n assignees:\n - senorprogrammer\n
dataset_sample\yaml\wtfutil_wtf\.github\dependabot.yml
dependabot.yml
YAML
377
0.7
0
0
awesome-app
329
2025-05-18T11:40:18.082633
GPL-3.0
false
7efbd4d0322ae58b207c93672049ae12
# Configuration for probot-stale - https://github.com/probot/stale\n\n# Number of days of inactivity before an Issue or Pull Request becomes stale\ndaysUntilStale: 180\n\n# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.\n# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.\ndaysUntilClose: false\n\n# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)\nonlyLabels: []\n\n# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable\nexemptLabels:\n - pinned\n - security\n - "[Status] Maybe Later"\n\n# Set to true to ignore issues in a project (defaults to false)\nexemptProjects: false\n\n# Set to true to ignore issues in a milestone (defaults to false)\nexemptMilestones: false\n\n# Set to true to ignore issues with an assignee (defaults to false)\nexemptAssignees: true\n\n# Label to use when marking as stale\nstaleLabel: wontfix\n\n# Comment to post when marking as stale. Set to `false` to disable\nmarkComment: >\n This issue has been automatically marked as stale because it has not had\n recent activity. It will be closed if no further activity occurs. Thank you\n for your contributions.\n\n# Comment to post when removing the stale label.\n# unmarkComment: >\n# Your comment here.\n\n# Comment to post when closing a stale Issue or Pull Request.\n# closeComment: >\n# Your comment here.\n\n# Limit the number of actions per hour, from 1-30. Default is 30\nlimitPerRun: 30\n\n# Limit to only `issues` or `pulls`\n# only: issues\n\n# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':\n# pulls:\n# daysUntilStale: 30\n# markComment: >\n# This pull request has been automatically marked as stale because it has not had\n# recent activity. It will be closed if no further activity occurs. Thank you\n# for your contributions.\n\n# issues:\n# exemptLabels:\n# - confirmed\n
dataset_sample\yaml\wtfutil_wtf\.github\stale.yml
stale.yml
YAML
1,990
0.8
0.098361
0.652174
python-kit
156
2024-12-07T03:38:45.354875
BSD-3-Clause
false
443f13113c61b18e5693805477a5b765
name: "Code scanning - action"\n\non:\n pull_request:\n schedule:\n - cron: '0 3 * * 3,6'\n\njobs:\n CodeQL-Build:\n\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4.1.1\n\n # Initializes the CodeQL tools for scanning.\n - name: Initialize CodeQL\n uses: github/codeql-action/init@v3\n # Override language selection by uncommenting this and choosing your languages\n # with:\n # languages: go, javascript, csharp, python, cpp, java\n\n # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).\n # If this step fails, then you should remove it and run the build manually (see below)\n - name: Autobuild\n uses: github/codeql-action/autobuild@v3\n\n # ℹ️ Command-line programs to run using the OS shell.\n # 📚 https://git.io/JvXDl\n\n # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n # and modify them (or add more) to build your code if your project\n # uses a compiled language\n\n #- run: |\n # make bootstrap\n # make release\n\n - name: Perform CodeQL Analysis\n uses: github/codeql-action/analyze@v3\n
dataset_sample\yaml\wtfutil_wtf\.github\workflows\codeql-analysis.yml
codeql-analysis.yml
YAML
1,181
0.8
0.04878
0.451613
node-utils
698
2025-02-05T04:03:55.654162
GPL-3.0
false
a9da363248f150c6c57d9c5785d3150b
name: golangci-lint\non:\n push:\n tags:\n - v*\n branches:\n - master\n pull_request:\njobs:\n golangci:\n name: lint\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4.1.1\n - name: golangci-lint\n uses: golangci/golangci-lint-action@v3\n with:\n # Required: the version of golangci-lint is required and must be\n # specified without patch version: we always use the latest patch version.\n # https://github.com/golangci/golangci-lint/releases\n version: latest\n args: ./... --timeout=10m\n
dataset_sample\yaml\wtfutil_wtf\.github\workflows\golangci-lint.yml
golangci-lint.yml
YAML
581
0.95
0
0.136364
vue-tools
439
2024-03-20T17:14:14.471719
MIT
false
4f74d1efe1af7fbe32a22d824ae163d6
name: goreleaser\n\non:\n push:\n tags:\n - '*'\n\njobs:\n goreleaser:\n runs-on: ubuntu-latest\n steps:\n -\n name: Checkout\n uses: actions/checkout@v4.1.1\n with:\n fetch-depth: 0\n -\n name: Set up Go\n uses: actions/setup-go@v5\n with:\n go-version: 1.18\n -\n name: Run GoReleaser\n uses: goreleaser/goreleaser-action@v5\n with:\n version: latest\n args: release --rm-dist\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GITHUB_TOKEN: ${{ secrets.GH_PAT }}\n
dataset_sample\yaml\wtfutil_wtf\.github\workflows\goreleaser.yml
goreleaser.yml
YAML
594
0.7
0
0
react-lib
984
2024-02-15T01:55:29.889943
MIT
false
dc6aa142a8fa006139b1554b5cb5bbb3
name: static check\non: pull_request\n\njobs:\n imports:\n name: Imports\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4.1.1\n - name: check\n # uses: grandcolline/golang-github-actions@4356d0458ea4bfdb55fcb296437812acef970f9b\n uses: senorprogrammer/golang-github-actions@c2675d08254b17c070e524b3d907cfaf05fbae6f\n with:\n run: imports\n token: ${{ secrets.GITHUB_TOKEN }}\n\n errcheck:\n name: Errcheck\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4.1.1\n - name: check\n # uses: grandcolline/golang-github-actions@4356d0458ea4bfdb55fcb296437812acef970f9b\n uses: senorprogrammer/golang-github-actions@c2675d08254b17c070e524b3d907cfaf05fbae6f\n with:\n run: errcheck\n token: ${{ secrets.GITHUB_TOKEN }}\n\n #lint:\n #name: Lint\n #runs-on: ubuntu-latest\n #steps:\n #- uses: actions/checkout@v4.1.1\n #- name: check\n #uses: grandcolline/golang-github-actions@4356d04\n #with:\n #run: lint\n #token: ${{ secrets.GITHUB_TOKEN }}\n\n shadow:\n name: Shadow\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4.1.1\n - name: check\n # uses: grandcolline/golang-github-actions@4356d0458ea4bfdb55fcb296437812acef970f9b\n uses: senorprogrammer/golang-github-actions@c2675d08254b17c070e524b3d907cfaf05fbae6f\n with:\n run: shadow\n token: ${{ secrets.GITHUB_TOKEN }}\n\n staticcheck:\n name: StaticCheck\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4.1.1\n - name: check\n # uses: grandcolline/golang-github-actions@4356d0458ea4bfdb55fcb296437812acef970f9b\n uses: senorprogrammer/golang-github-actions@c2675d08254b17c070e524b3d907cfaf05fbae6f\n with:\n run: staticcheck\n token: ${{ secrets.GITHUB_TOKEN }}\n\n #sec:\n #name: Sec\n #runs-on: ubuntu-latest\n #steps:\n #- uses: actions/checkout@v4.1.1\n #- name: check\n #uses: grandcolline/golang-github-actions@4356d04\n #with:\n #run: sec\n #token: ${{ secrets.GITHUB_TOKEN }}\n #flags: "-exclude=G104"\n
dataset_sample\yaml\wtfutil_wtf\.github\workflows\staticcheck.yml
staticcheck.yml
YAML
2,107
0.95
0
0.367647
awesome-app
691
2025-01-26T14:57:18.546144
Apache-2.0
false
725dfbc08e7a320a86a0fd618fc8f884
wtf:\n colors:\n border:\n focusable: darkslateblue\n focused: orange\n normal: gray\n grid:\n columns: [40, 40]\n rows: [13, 13, 4]\n refreshInterval: 1\n mods:\n bargraph:\n enabled: true\n graphIcon: "💀"\n graphStars: 25\n position:\n top: 1\n left: 0\n height: 2\n width: 2\n refreshInterval: 30
dataset_sample\yaml\wtfutil_wtf\_sample_configs\bargraph_config.yml
bargraph_config.yml
YAML
366
0.7
0
0
react-lib
262
2024-05-31T11:45:37.869539
GPL-3.0
false
faa9dafb08227c7f9f1a2b6324ec5d4a
wtf:\n mods:\n battery:\n type: power\n title: "⚡️"\n enabled: true\n position:\n top: 0\n left: 0\n height: 1\n width: 1\n refreshInterval: 15\n security_info:\n type: security\n enabled: true\n position:\n top: 0\n left: 1\n height: 1\n width: 1\n refreshInterval: 3600
dataset_sample\yaml\wtfutil_wtf\_sample_configs\dynamic_sizing.yml
dynamic_sizing.yml
YAML
363
0.7
0
0
python-kit
728
2023-12-17T04:56:32.761023
MIT
false
f974c69a86285d6048fecbe1eaa0b531
wtf:\n colors:\n border:\n focusable: darkslateblue\n focused: orange\n normal: gray\n grid:\n columns: [32, 32, 32, 32, 32, 32]\n rows: [10, 10, 10, 10, 10, 10]\n refreshInterval: 2\n mods:\n kubernetes:\n enabled: true\n kubeconfig: /Users/testuser/.kube/config\n namespaces: ["demo", "kube-system"]\n objects: ["nodes","deployments", "pods"]\n position:\n top: 0\n left: 0\n height: 6\n width: 3\n
dataset_sample\yaml\wtfutil_wtf\_sample_configs\kubernetes_config.yml
kubernetes_config.yml
YAML
463
0.7
0
0
python-kit
707
2024-08-31T13:18:21.080723
MIT
false
93b41a2c69e663059cccd51d2a7dcdda
wtf:\n grid:\n columns: [20, 20]\n rows: [3, 3]\n refreshInterval: 1\n mods:\n uptime:\n type: cmdrunner\n args: []\n cmd: "uptime"\n enabled: true\n position:\n top: 0\n left: 0\n height: 1\n width: 1\n refreshInterval: 30\n
dataset_sample\yaml\wtfutil_wtf\_sample_configs\small_config.yml
small_config.yml
YAML
278
0.7
0
0
awesome-app
837
2025-03-11T11:08:45.448905
Apache-2.0
false
eaddaba7003e0564855b273a5a178c2a
wtf:\n colors:\n background: black\n border:\n focusable: darkslateblue\n grid:\n columns: [40, 40]\n rows: [16]\n refreshInterval: 1\n mods:\n americas_time:\n title: "Americas"\n type: clocks\n enabled: true\n locations:\n UTC: "Etc/UTC"\n Vancouver: "America/Vancouver"\n New_York: "America/New_York"\n Sao_Paolo: "America/Sao_Paulo"\n Denver: "America/Denver"\n Iqaluit: "America/Iqaluit"\n Bahamas: "America/Nassau"\n Chicago: "America/Chicago"\n position:\n top: 0\n left: 0\n height: 1\n width: 1\n refreshInterval: 15\n sort: "chronological"\n textfile:\n enabled: true\n filePaths:\n - "~/.config/wtf/config.yml"\n format: true\n formatStyle: "vim"\n position:\n top: 0\n left: 1\n height: 1\n width: 1\n refreshInterval: 15\n
dataset_sample\yaml\wtfutil_wtf\_sample_configs\uniconfig.yml
uniconfig.yml
YAML
904
0.7
0
0
node-utils
79
2025-04-23T18:05:29.277256
MIT
false
1d59810606fe9fc5a815d32a87ce4bd1
variables:\n- name : Codeql.Enabled\n value: true\n- name: DefaultBuildPlatform\n value: 'any cpu'\n- name: ApkName\n value: AndroidControlGallery.AndroidControlGallery.apk\n- name: BuildVersion\n value: $[counter('nuget-counter', 126)]\n- name: NUGET_VERSION\n value: 5.8.1\n- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE\n value: true\n- name: DOTNET_VERSION\n value: 5.0.102\n- name: signingCondition\n value: and(succeeded(), ne(variables['signVmImage'], ''), or(eq(variables['Sign'], 'true'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'],'refs/tags/'))))\n- group: Xamarin-Secrets\n\nresources:\n repositories:\n - repository: xamarin-templates\n type: github\n name: xamarin/yaml-templates\n endpoint: xamarin\n ref: refs/heads/main\n\ntrigger:\n branches:\n include:\n - main\n - 3.*\n - 4.*\n - 5.*\n tags:\n include:\n - '*'\n paths:\n exclude:\n - README.md\n\npr:\n autoCancel: false\n branches:\n include:\n - main\n - 3.*\n - 4.*\n - 5.*\n\nschedules:\n- cron: "0 0 * * *"\n displayName: Daily midnight build\n branches:\n include:\n - 5.0.0\n\nstages:\n - stage: windows\n displayName: Build Windows\n jobs:\n - job: win_hosted\n condition: eq(variables['vs2019VmPool'], 'Azure Pipelines')\n workspace:\n clean: all\n displayName: Build Windows Phase\n timeoutInMinutes: 90\n pool:\n name: $(vs2019VmPool)\n vmImage: $(vs2019VmImage)\n demands:\n msbuild\n strategy:\n matrix:\n debug:\n BuildConfiguration: 'Debug'\n release:\n BuildConfiguration: 'Release'\n steps:\n - template: build/steps/build-windows.yml\n parameters:\n provisionatorPath : 'build/provisioning/provisioning.csx'\n provisionatorVSPath : 'build/provisioning/vs.csx'\n - job: nuget_pack_hosted\n workspace:\n clean: all\n displayName: Nuget Phase\n dependsOn:\n - win_hosted\n condition: succeeded()\n pool:\n name: $(vs2019VmPool)\n vmImage: $(vs2019VmImage)\n demands:\n msbuild\n variables:\n FormsIdAppend: ''\n buildConfiguration: $(DefaultBuildConfiguration)\n nugetPackageVersion : $[ dependencies.win_hosted.outputs['debug.winbuild.xamarinformspackageversion'] ]\n steps:\n - template: build/steps/build-nuget.yml\n - job: win_bots\n condition: ne(variables['vs2019VmPool'], 'Azure Pipelines')\n workspace:\n clean: all\n displayName: Build Windows Phase Bots\n timeoutInMinutes: 90\n pool:\n name: $(vs2019VmPool)\n vmImage: $(vs2019VmImage)\n demands:\n - Agent.OS -equals Windows_NT\n - msbuild\n strategy:\n matrix:\n debug:\n BuildConfiguration: 'Debug'\n release:\n BuildConfiguration: 'Release'\n steps:\n - template: build/steps/build-windows.yml\n parameters:\n provisionatorPath : 'build/provisioning/provisioning.csx'\n - job: nuget_pack_bots\n workspace:\n clean: all\n displayName: Nuget Phase\n dependsOn:\n - win_bots\n condition: succeeded()\n pool:\n name: $(vs2019VmPool)\n vmImage: $(vs2019VmImage)\n demands:\n - Agent.OS -equals Windows_NT\n - msbuild\n variables:\n FormsIdAppend: ''\n buildConfiguration: $(DefaultBuildConfiguration)\n nugetPackageVersion : $[ dependencies.win_bots.outputs['debug.winbuild.xamarinformspackageversion'] ]\n steps:\n - template: build/steps/build-nuget.yml\n\n - stage: android\n displayName: Build Android\n ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:\n dependsOn: windows\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n dependsOn: []\n jobs:\n - template: build/steps/build-android.yml\n parameters:\n vmPool: $[coalesce(variables.macAndroid2019VmPool, 'Azure Pipelines')]\n vmImage: $[coalesce(variables.macAndroid2019VmImage, 'macOS-latest')]\n provisionatorPath : 'build/provisioning/provisioning.csx'\n buildConfiguration: $(DefaultBuildConfiguration)\n ${{ if ne(variables['MSBuildArguments_cg_android'], '') }}:\n MSBuildArguments_cg_android: $(MSBuildArguments_cg_android)\n\n - stage: build_osx\n displayName: Build OSX\n ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:\n dependsOn: windows\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n dependsOn: []\n jobs:\n - job: osx\n workspace:\n clean: all\n displayName: OSX Phase\n timeoutInMinutes: 120\n pool:\n name: $(osx2019VmPool)\n vmImage: $(macOSXVmImage)\n demands:\n - sh\n variables:\n provisionator.osxPath : 'build/provisioning/provisioning.csx'\n buildConfiguration: $(DefaultBuildConfiguration)\n iOSCertSecureFileName: 'Xamarin Forms iOS Certificate.p12'\n iOSProvisioningSecureFileName: 'Xamarin Forms iOS Provisioning.mobileprovision'\n steps:\n - template: build/steps/build-osx.yml\n\n # only sign using the private server and not sigining Maui for now\n - ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:\n - stage: nuget_signing\n dependsOn: windows\n displayName: Sign Nuget\n jobs:\n - template: sign-artifacts/jobs/v2.yml@xamarin-templates\n parameters:\n targetFolder: $(Build.ArtifactStagingDirectory)/nuget/signed\n artifactPath: release\n signedArtifactName: nuget\n signedArtifactPath: signed\n displayName: Sign Phase\n condition: ${{ variables.signingCondition }}\n preSignSteps:\n - task: NuGetToolInstaller@1\n inputs:\n versionSpec: $(NUGET_VERSION)\n\n - stage: PoliCheck\n displayName: 'Code Analysis'\n dependsOn: windows\n jobs:\n - job: run_poli_check\n displayName: 'Policheck And Credentials Compliance'\n pool:\n name: $(vs2019VmPool)\n vmImage: $(vs2019VmImage)\n timeoutInMinutes: 60\n cancelTimeoutInMinutes: 5\n steps:\n - checkout: self\n\n - template: security/policheck/v2.yml@xamarin-templates\n\n - template: security/credscan/v3.yml@xamarin-templates\n parameters:\n suppressionsFile: $(System.DefaultWorkingDirectory)\build\automation\CredScanSuppressions.json\n\n - task: securedevelopmentteam.vss-secure-development-tools.build-task-antimalware.AntiMalware@4\n displayName: Run AntiMalware (Defender) Scan\n inputs:\n FileDirPath: $(System.DefaultWorkingDirectory)\n EnableServices: true\n condition: succeededOrFailed()\n\n - task: securedevelopmentteam.vss-secure-development-tools.build-task-report.SdtReport@2\n displayName: Create Security Analysis Report\n inputs:\n CredScan: true\n PoliCheck: true\n condition: succeededOrFailed()\n\n - task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3\n displayName: Publish Security Analysis Logs\n inputs:\n ArtifactName: CodeAnalysisLogs\n condition: succeededOrFailed()\n\n - task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2\n displayName: Fail Job if Security Issues are Detected\n inputs:\n CredScan: true\n PoliCheck: true\n GdnBreakGdnToolPoliCheckSeverity: 'Error'\n condition: succeededOrFailed()\n\n - stage: sbom\n dependsOn: nuget_signing\n displayName: 'Software Bill of Materials'\n jobs:\n - template: compliance/sbom/job.v1.yml@xamarin-templates # Software Bill of Materials (SBOM): https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/secure-supply-chain/ado-sbom-generator\n parameters:\n artifactNames: ['nuget']\n artifactMap: ['nuget/signed']\n packageName: 'Xamarin Forms'\n packageFilter: '*.nupkg'\n condition: ${{ variables.signingCondition }}\n
dataset_sample\yaml\xamarin_Xamarin.Forms\azure-pipelines.yml
azure-pipelines.yml
YAML
8,641
0.8
0.030534
0.004065
vue-tools
729
2024-05-18T05:44:16.306500
GPL-3.0
false
521d5e5f99e39aee897292ae481565c6
name: Backport Trigger\n\non:\n issue_comment:\n types: [created]\n\njobs:\n setupBackport:\n runs-on: ubuntu-latest\n if: github.event.issue.pull_request != '' && startswith(github.event.comment.body, '@vs-mobiletools-engineering-service2 backport')\n outputs:\n target_branch: ${{ steps.parse_comment.outputs.target_branch }}\n steps:\n - name: Parse Comment\n id: parse_comment\n run: |\n Write-Host "Parsing $env:COMMENT"\n ($botName, $backport, $backportTargetBranch) = [System.Text.RegularExpressions.Regex]::Split("$env:COMMENT", "\s+")\n echo "::set-output name=target_branch::$backportTargetBranch"\n shell: pwsh\n env:\n COMMENT: "${{ github.event.comment.body }}"\n\n launchBackportBuild:\n needs: setupBackport\n uses: xamarin/backport-bot-action/.github/workflows/backport-action.yml@v1.1\n with:\n pull_request_url: ${{ github.event.issue.pull_request.url }}\n target_branch: ${{ needs.setupBackport.outputs.target_branch }}\n comment_author: ${{ github.actor }}\n github_repository: ${{ github.repository }}\n use_fork: false\n secrets:\n ado_organization: ${{ secrets.ADO_PROJECTCOLLECTION }}\n ado_project: ${{ secrets.ADO_PROJECT }}\n backport_pipeline_id: ${{ secrets.BACKPORT_PIPELINEID }}\n ado_build_pat: ${{ secrets.ADO_BUILDPAT }}\n github_account_pat: ${{ secrets.SERVICEACCOUNT_PAT }}\n
dataset_sample\yaml\xamarin_Xamarin.Forms\.github\workflows\backport-trigger.yml
backport-trigger.yml
YAML
1,428
0.7
0.026316
0
node-utils
960
2024-06-17T13:10:40.556339
MIT
false
c948cce314814e9669b3a8915560babe
name: Daily code format check\non:\n schedule:\n - cron: 0 0 * * * # Every day at midnight (UTC)\njobs:\n dotnet-format:\n runs-on: windows-latest\n steps:\n - name: Install dotnet-format\n run: dotnet tool install -g dotnet-format\n\n - name: Checkout repo\n uses: actions/checkout@v2\n with:\n ref: ${{ github.head_ref }}\n\n - name: Run dotnet format\n id: format\n uses: jfversluis/dotnet-format@v1.0.5\n with:\n repo-token: ${{ secrets.GITHUB_TOKEN }}\n action: "fix"\n #only-changed-files: true # only works for PRs\n workspace: "Xamarin.Forms.sln"\n \n - name: Commit files\n if: steps.format.outputs.has-changes == 'true'\n run: |\n git config --local user.name "github-actions[bot]"\n git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"\n git commit -a -m 'Automated dotnet-format update'\n\n - name: Create Pull Request\n uses: peter-evans/create-pull-request@v3\n with:\n title: '[housekeeping] Automated PR to fix formatting errors'\n body: |\n Automated PR to fix formatting errors\n committer: GitHub <noreply@github.com>\n author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n labels: t/housekeeping ♻︎\n assignees: rmarinho, jsuarezruiz\n reviewers: rmarinho, jsuarezruiz\n branch: housekeeping/fix-codeformatting\n\n # Pushing won't work to forked repos\n # - name: Commit files\n # if: steps.format.outputs.has-changes == 'true'\n # run: |\n # git config --local user.name "github-actions[bot]"\n # git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"\n # git commit -a -m 'Automated dotnet-format update\n # Co-authored-by: ${{ github.event.pull_request.user.login }} <${{ github.event.pull_request.user.id }}+${{ github.event.pull_request.user.login }}@users.noreply.github.com>'\n\n # - name: Push changes\n # if: steps.format.outputs.has-changes == 'true'\n # uses: ad-m/github-push-action@v0.6.0\n # with:\n # github_token: ${{ secrets.GITHUB_TOKEN }}\n # branch: ${{ github.event.pull_request.head.ref }}
dataset_sample\yaml\xamarin_Xamarin.Forms\.github\workflows\dotnet-format-daily.yml
dotnet-format-daily.yml
YAML
2,341
0.8
0.067797
0.277778
node-utils
836
2025-04-16T04:33:59.538840
MIT
false
56863b464d5e82c52d26e2ed12ddf6ac
name: Rebase Trigger\n\non:\n issue_comment:\n types: [created]\n\njobs:\n launchBackportBuild:\n runs-on: ubuntu-latest\n if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '@vs-mobiletools-engineering-service2 rebase')\n\n steps:\n - uses: xamarin/rebase-bot-action@v1.0\n with:\n pull_request_url: ${{ github.event.issue.pull_request.url }}\n comment_author: ${{ github.actor }}\n github_repository: ${{ github.repository }}\n ado_organization: ${{ secrets.ADO_PROJECTCOLLECTION }}\n ado_project: ${{ secrets.ADO_PROJECT }}\n rebase_pipeline_id: 13926\n ado_build_pat: ${{ secrets.ADO_BUILDPAT }}\n github_account_pat: ${{ secrets.SERVICEACCOUNT_PAT }}\n
dataset_sample\yaml\xamarin_Xamarin.Forms\.github\workflows\rebase-trigger.yml
rebase-trigger.yml
YAML
763
0.7
0.045455
0
react-lib
39
2024-03-08T12:57:31.511931
BSD-3-Clause
false
e673774de26441f4183de43d2c169105
parameters:\n name: '' # in the form type_platform_host\n displayName: '' # the human name\n vmImage: 'internal-macos12' # the VM image\n vmPool: 'Azure Pipelines' # the VM pool\n dependsOn: [] # the dependiencies\n preBuildSteps: [] # any steps to run before the build\n postBuildSteps: [] # any additional steps to run after the build\n slnPath : 'Xamarin.Forms.sln'\n buildTaskPath : 'Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj'\n androidProjectPath : 'Xamarin.Forms.ControlGallery.Android/Xamarin.Forms.ControlGallery.Android.csproj'\n buildConfiguration : 'Debug'\n nugetVersion: $(NUGET_VERSION)\n monoVersion: $(MONO_VERSION)\n provisionatorPath: 'build/provisioning/provisioning.csx'\n provisionatorExtraArguments: ''\n MSBuildArguments_cg_android: ''\n\njobs:\n - job: ${{ parameters.name }}\n workspace:\n clean: all\n displayName: ${{ parameters.displayName }}\n timeoutInMinutes: 120\n pool:\n name: ${{ coalesce(parameters.vmPool, 'Azure Pipelines') }}\n vmImage: ${{ coalesce(parameters.vmImage, 'internal-macos12') }}\n dependsOn: ${{ parameters.dependsOn }}\n strategy:\n matrix:\n android_legacy:\n renderers: 'LEGACY'\n outputfolder: 'legacyRenderers'\n android_preAppCompat:\n renderers: 'PREAPPCOMPAT'\n outputfolder: 'preAppCompat'\n android_newRenderers:\n renderers: 'FAST'\n outputfolder: 'newRenderers'\n steps:\n - checkout: self\n clean: true\n\n - task: UseDotNet@2\n displayName: 'Install .net core $(DOTNET_VERSION)'\n condition: ne(variables['DOTNET_VERSION'], '')\n inputs:\n version: $(DOTNET_VERSION)\n packageType: 'sdk'\n\n - task: Bash@3\n displayName: 'Cake Provision'\n condition: eq(variables['provisioningCake'], 'true')\n inputs:\n targetType: 'filePath'\n filePath: 'build.sh'\n arguments: --target provision --TeamProject="$(System.TeamProject)"\n \n # Setup JDK Paths\n - bash: |\n echo "##vso[task.setvariable variable=JI_JAVA_HOME]$(JAVA_HOME_11_X64)"\n displayName: 'Setup JDK Paths'\n\n - task: xamops.azdevex.provisionator-task.provisionator@2\n displayName: 'Provisionator'\n condition: eq(variables['provisioning'], 'true')\n inputs:\n provisioning_script: ${{ parameters.provisionatorPath }}\n provisioning_extra_args: ${{ parameters.provisionator.extraArguments }}\n env:\n AUTH_TOKEN_GITHUB_COM: $(github--pat--vs-mobiletools-engineering-service2)\n\n - script: '/bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh ${{ parameters.monoVersion }}"'\n displayName: 'Select MONO ${{ parameters.monoVersion }}'\n\n - task: NuGetToolInstaller@1\n displayName: 'Use NuGet'\n condition: ne(variables['NUGET_VERSION'], '')\n inputs:\n versionSpec: $(NUGET_VERSION)\n\n - task: DownloadBuildArtifacts@0\n displayName: 'Download build artifact nuget'\n condition: eq(variables['System.TeamProject'], 'DevDiv')\n inputs:\n artifactName: 'nuget'\n downloadPath: 'Nuget'\n\n - task: CopyFiles@2\n displayName: 'Copy Files to: $(System.DefaultWorkingDirectory)'\n condition: eq(variables['System.TeamProject'], 'DevDiv')\n inputs:\n SourceFolder: 'Nuget/nuget/${{ parameters.buildConfiguration }}'\n TargetFolder: 'Nuget'\n \n - task: Bash@3\n displayName: 'Build Android $(renderers)'\n inputs:\n targetType: 'filePath'\n filePath: 'build.sh'\n arguments: --target cg-android --ANDROID_RENDERERS="$(renderers)" --GoogleMapsAPIKey="$(GoogleMapsAPIKey)" --BUILD_CONFIGURATION=${{ parameters.buildConfiguration }} --MSBuildArguments='${{ variables.MSBuildArguments_cg_android }} '\n\n - task: CopyFiles@2\n displayName: 'Copy $(renderers)'\n inputs:\n SourceFolder: Xamarin.Forms.ControlGallery.Android/bin/${{ parameters.buildConfiguration }}/\n Contents: '**/*.apk'\n TargetFolder: 'Xamarin.Forms.ControlGallery.Android/$(outputfolder)/'\n CleanTargetFolder: true\n OverWrite: true\n\n - task: CopyFiles@2\n displayName: 'Copy Android apk $(renderers) for UITest'\n inputs:\n Contents: |\n Xamarin.Forms.ControlGallery.Android/$(outputfolder)/$(ApkName)\n TargetFolder: '$(build.artifactstagingdirectory)/androidApp'\n CleanTargetFolder: true\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish Artifact: AndroidApps'\n condition: always()\n inputs:\n PathtoPublish: '$(build.artifactstagingdirectory)'\n ArtifactName: OSXArtifacts\n
dataset_sample\yaml\xamarin_Xamarin.Forms\build\steps\build-android.yml
build-android.yml
YAML
4,818
0.8
0.008
0.008929
react-lib
986
2025-04-14T08:08:13.243470
MIT
false
54128620921ff7b354c7dcbae83cb11c
parameters:\n nugetForDebug: 'true'\n nugetForRelease: 'true'\n publishArtifacts: 'true'\n binariesArtifact: 'win_build'\n artifact: 'nuget'\n artifactsTargetFolder: '$(build.artifactstagingdirectory)/nuget'\n\n\nsteps:\n - checkout: self\n clean: true\n\n - task: DownloadBuildArtifacts@1\n displayName: 'Download build artifact ${{ parameters.binariesArtifact }}'\n inputs:\n artifactName: ${{ parameters.binariesArtifact }}\n downloadPath: '$(Build.ArtifactsDirectory)/${{ parameters.binariesArtifact }}'\n\n\n - task: CopyFiles@2\n displayName: 'Copy Files to: $(System.DefaultWorkingDirectory)'\n inputs:\n SourceFolder: '$(Build.ArtifactsDirectory)/${{ parameters.binariesArtifact }}'\n TargetFolder: '$(System.DefaultWorkingDirectory)'\n\n - task: CopyFiles@2\n displayName: 'Copy SignList.xml Files'\n inputs:\n Contents: build/SignList.xml\n TargetFolder: ${{ parameters.artifactsTargetFolder}}\n flattenFolders: true\n\n - task: PowerShell@1\n displayName: 'Generate docs from docs repo'\n inputs:\n scriptName: 'build/scripts/generate-docs.ps1'\n arguments: '"$(Build.SourceBranch)" "$(github--pat--xamarinreleasemanager)"'\n workingFolder: '$(System.DefaultWorkingDirectory)/build/scripts'\n\n - task: NuGetToolInstaller@1\n displayName: 'Use NuGet: $(NUGET_VERSION)'\n inputs:\n versionSpec: $(NUGET_VERSION)\n\n - task: NuGetCommand@2\n displayName: 'Make NuGet Package'\n inputs:\n command: pack\n feedsToUse: config\n packagesToPack: '.nuspec/*.nuspec'\n packDestination: '${{ parameters.artifactsTargetFolder}}/$(BuildConfiguration)'\n versioningScheme: byEnvVar\n versionEnvVar: nugetPackageVersion\n configuration: $(BuildConfiguration)\n\n - task: CopyFiles@2\n displayName: 'Copy SignList.xml Files'\n inputs:\n Contents: build/SignList.xml\n TargetFolder: '${{ parameters.artifactsTargetFolder}}/$(BuildConfiguration)'\n flattenFolders: true\n\n - ${{ if eq(parameters.publishArtifacts, 'true') }}:\n - task: PublishBuildArtifacts@1\n displayName: 'Publish Artifact: nuget'\n inputs:\n PathtoPublish: '${{ parameters.artifactsTargetFolder }}/$(BuildConfiguration)'\n ArtifactName: ${{ parameters.artifact }}\n
dataset_sample\yaml\xamarin_Xamarin.Forms\build\steps\build-nuget.yml
build-nuget.yml
YAML
2,254
0.8
0.014493
0
react-lib
152
2024-09-04T02:34:06.267007
GPL-3.0
false
dbbc0ab692d9e45e33227bad19e1c208
steps:\n - checkout: self\n clean: true\n\n - task: xamops.azdevex.provisionator-task.provisionator@2\n displayName: 'Provision Xcode'\n condition: ne(variables['REQUIRED_XCODE'], '')\n inputs:\n provisioning_script: 'build/provisioning/xcode.csx'\n env:\n AUTH_TOKEN_GITHUB_COM: $(github--pat--vs-mobiletools-engineering-service2)\n\n - task: xamops.azdevex.provisionator-task.provisionator@2\n displayName: 'Provisionator'\n condition: eq(variables['provisioning'], 'true')\n inputs:\n provisioning_script: $(provisionator.osxPath)\n provisioning_extra_args: $(provisionator.extraArguments) --v\n env:\n AUTH_TOKEN_GITHUB_COM: $(github--pat--vs-mobiletools-engineering-service2)\n\n - script: |\n echo "##vso[task.prependpath]/Library/Frameworks/Mono.framework/Versions/Current/Commands/"\n echo "##vso[task.prependpath]~/Library/Developer/Xamarin/android-sdk-macosx"\n displayName: 'Setup SDK Paths'\n condition: ne(variables['osx2019VmPool'], 'Azure Pipelines')\n\n - task: UseDotNet@2\n displayName: 'Install .net core $(DOTNET_VERSION)'\n condition: ne(variables['DOTNET_VERSION'], '')\n inputs:\n version: $(DOTNET_VERSION)\n packageType: 'sdk'\n\n - task: Bash@3\n displayName: 'Cake Provision'\n condition: eq(variables['provisioningCake'], 'true')\n inputs:\n targetType: 'filePath'\n filePath: 'build.sh'\n arguments: --target provision --TeamProject="$(System.TeamProject)"\n\n - task: DownloadBuildArtifacts@0\n displayName: 'Download build artifact nuget'\n condition: eq(variables['System.TeamProject'], 'DevDiv')\n inputs:\n artifactName: 'nuget'\n downloadPath: '$(Build.ArtifactsDirectory)'\n\n - task: CopyFiles@2\n displayName: 'Copy Files to: $(System.DefaultWorkingDirectory)'\n condition: eq(variables['System.TeamProject'], 'DevDiv')\n inputs:\n SourceFolder: '$(Build.ArtifactsDirectory)/nuget/$(buildConfiguration)'\n TargetFolder: '$(System.DefaultWorkingDirectory)/Nuget'\n\n - task: InstallAppleCertificate@2\n displayName: 'Install an Apple certificate'\n inputs:\n certSecureFile: 'Xamarin Forms iOS Certificate.p12'\n certPwd: $(P12password)\n\n - task: InstallAppleProvisioningProfile@1\n displayName: 'Install an Apple provisioning profile'\n inputs:\n provProfileSecureFile: 'Xamarin Forms iOS Provisioning.mobileprovision'\n\n - bash: rm -rf ~/.config/NuGet/NuGet.Config\n displayName: 'Workaround to make build work' \n\n - task: Bash@3\n displayName: 'Build Control Gallery IPA'\n inputs:\n targetType: 'filePath'\n filePath: 'build.sh'\n arguments: --target cg-ios --BUILD_CONFIGURATION=$(buildConfiguration) --MSBuildArguments='${{ variables.MSBuildArguments_cg_ios }} '\n\n - task: Bash@3\n displayName: 'Build iOS Tests'\n inputs:\n targetType: 'filePath'\n filePath: 'build.sh'\n arguments: --target cg-ios-build-tests --BUILD_CONFIGURATION=$(buildConfiguration) --MSBuildArguments='${{ variables.MSBuildArguments_cg_ios }} '\n\n - task: CopyFiles@2\n displayName: 'Copy iOS Files for UITest'\n inputs:\n Contents: |\n **/XamarinFormsControlGalleryiOS.ipa\n Xamarin.Forms.Core.iOS.UITests/bin/$(BuildConfiguration)/Newtonsoft.Json.*\n Xamarin.Forms.Core.iOS.UITests/bin/$(BuildConfiguration)/nunit.*\n Xamarin.Forms.Core.iOS.UITests/bin/$(BuildConfiguration)/NUnit3.*\n Xamarin.Forms.Core.iOS.UITests/bin/$(BuildConfiguration)/Plugin.*\n Xamarin.Forms.Core.iOS.UITests/bin/$(BuildConfiguration)/Xamarin.*\n TargetFolder: '$(build.artifactstagingdirectory)/ios'\n flattenFolders: true\n\n - task: CopyFiles@2\n displayName: 'Copy iOS dSYM'\n inputs:\n SourceFolder: Xamarin.Forms.ControlGallery.iOS/bin/iPhone/$(BuildConfiguration)/XamarinFormsControlGalleryiOS.app.dSYM/\n TargetFolder: '$(build.artifactstagingdirectory)/ios/iPhone/XamarinFormsControlGalleryiOS.app.dSYM/'\n CleanTargetFolder: false\n flattenFolders: false\n\n - task: CopyFiles@2\n displayName: 'Copy iOS App'\n inputs:\n SourceFolder: Xamarin.Forms.ControlGallery.iOS/bin/iPhoneSimulator/$(BuildConfiguration)/XamarinFormsControlGalleryiOS.app/\n TargetFolder: '$(build.artifactstagingdirectory)/ios/iPhoneSimulator/XamarinFormsControlGalleryiOS.app/'\n CleanTargetFolder: false\n flattenFolders: false\n\n - task: MSBuild@1\n displayName: 'Build Android Tests'\n inputs:\n solution: 'Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj'\n configuration: $(buildConfiguration)\n msbuildArguments: /bl:$(Build.ArtifactStagingDirectory)/android-uitests.binlog\n\n - task: CopyFiles@2\n displayName: 'Copy test-cloud.exe'\n inputs:\n Contents: '**/Xamarin.UITest.*/tools/test-cloud.exe'\n TargetFolder: '$(build.artifactstagingdirectory)/testcloud'\n OverWrite: true\n flattenFolders: true\n\n - task: CopyFiles@2\n displayName: 'Copy Android Files for UITest'\n inputs:\n Contents: |\n Xamarin.Forms.Core.Android.UITests/bin/$(BuildConfiguration)/Newtonsoft.Json.*\n Xamarin.Forms.Core.Android.UITests/bin/$(BuildConfiguration)/nunit.*\n Xamarin.Forms.Core.Android.UITests/bin/$(BuildConfiguration)/NUnit3.*\n Xamarin.Forms.Core.Android.UITests/bin/$(BuildConfiguration)/Plugin.*\n Xamarin.Forms.Core.Android.UITests/bin/$(BuildConfiguration)/Xamarin.*\n\n TargetFolder: '$(build.artifactstagingdirectory)/android'\n CleanTargetFolder: true\n flattenFolders: true\n\n - task: CopyFiles@2\n displayName: 'Copy Cake File'\n inputs:\n Contents: |\n build.cake\n build/provisioning/provisioning.csx\n build/provisioning/xcode.csx\n TargetFolder: '$(build.artifactstagingdirectory)'\n CleanTargetFolder: false\n flattenFolders: true\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish Artifact: iOS'\n condition: always()\n inputs:\n PathtoPublish: '$(build.artifactstagingdirectory)'\n ArtifactName: OSXArtifacts\n
dataset_sample\yaml\xamarin_Xamarin.Forms\build\steps\build-osx.yml
build-osx.yml
YAML
6,027
0.8
0.012579
0.007246
react-lib
870
2024-11-28T16:52:44.336950
GPL-3.0
false
e24749f00fc6e606a356db0a8842b66e
parameters:\n msbuildExtraArguments : ''\n artifactsTargetFolder: '$(build.artifactstagingdirectory)'\n nunitTestFolder: '$(build.sourcesdirectory)'\n includeUwp: 'true'\n includeAndroid: 'true'\n includeNonUwpAndNonAndroid: 'true'\n runTests: 'true'\n artifact: 'nuget'\n artifactBinaries: 'win_build'\n artifactApiscan: 'apiscan'\n publishArtifacts: true\n\nsteps:\n - checkout: self\n clean: true\n\n - task: UseDotNet@2\n displayName: 'Install .net core $(DOTNET_VERSION)'\n condition: ne(variables['DOTNET_VERSION'], '')\n inputs:\n version: $(DOTNET_VERSION)\n packageType: 'sdk'\n\n - script: build.cmd -Target provision\n displayName: 'Cake Provision'\n condition: eq(variables['provisioningCake'], 'true')\n\n # Setup JDK Paths\n - bash: |\n echo "##vso[task.setvariable variable=JI_JAVA_HOME]$(JAVA_HOME_11_X64)"\n displayName: 'Setup JDK Paths'\n\n - task: xamops.azdevex.provisionator-task.provisionator@2\n displayName: 'Provisionator'\n condition: eq(variables['provisioning'], 'true')\n inputs:\n provisioning_script: ${{ parameters.provisionatorPath }}\n provisioning_extra_args: ${{ parameters.provisionator.extraArguments }}\n env:\n AUTH_TOKEN_GITHUB_COM: $(github--pat--vs-mobiletools-engineering-service2)\n \n - task: xamops.azdevex.provisionator-task.provisionator@2\n displayName: 'Provisioning VS'\n condition: eq(variables['provisioningVS'], 'true')\n inputs:\n provisioning_script: ${{ parameters.provisionatorVSPath }}\n provisioning_extra_args: ${{ parameters.provisionator.extraArguments }}\n env:\n AUTH_TOKEN_GITHUB_COM: $(github--pat--vs-mobiletools-engineering-service2)\n\n - script: build.cmd -Target cg-uwp-build-tests -ScriptArgs '--BUILD_CONFIGURATION="$(BuildConfiguration)"','--MSBUILD="$(msbuild)"'\n condition: eq(variables['BuildConfiguration'], 'Release')\n displayName: 'Build Tests and APPX'\n\n - task: CopyFiles@2\n displayName: 'Copy Appx Packages'\n condition: eq(variables['BuildConfiguration'], 'Release')\n inputs:\n Contents: |\n Xamarin.Forms.ControlGallery.WindowsUniversal/AppPackages/*/*\n Xamarin.Forms.ControlGallery.WindowsUniversal/AppPackages/*/Add-AppDevPackage.resources/**\n Xamarin.Forms.ControlGallery.WindowsUniversal/AppPackages/*/TelemetryDependencies/**\n Xamarin.Forms.ControlGallery.WindowsUniversal/AppPackages/*/Dependencies/x86/**\n TargetFolder: ${{ parameters.artifactsTargetFolder }}\n\n - script: build.cmd -Target BuildForNuget -ScriptArgs '--BUILD_CONFIGURATION="$(BuildConfiguration)"','--Build_ArtifactStagingDirectory="$(Build.ArtifactStagingDirectory)"','--MSBUILD="$(msbuild)"'\n name: winbuild\n displayName: 'Build Projects For Nuget'\n\n - task: VSTest@2\n displayName: 'Unit Tests'\n condition: eq(${{ parameters.runTests }}, 'true')\n inputs:\n testAssemblyVer2: |\n **/bin/$(BuildConfiguration)/Xamarin.Forms.Core.UnitTests.dll\n **/bin/$(BuildConfiguration)/**/Xamarin.Forms.DualScreen.UnitTests.dll\n **/bin/$(BuildConfiguration)/**/Xamarin.Forms.Xaml.UnitTests.dll\n searchFolder: ${{ parameters.nunitTestFolder }}\n codeCoverageEnabled: true\n testRunTitle: '$(BuildConfiguration)_UnitTests'\n configuration: '$(BuildConfiguration)'\n diagnosticsEnabled: true\n\n - task: CopyFiles@2\n displayName: 'Copy Files dlls'\n condition: eq(${{ parameters.includeNonUwpAndNonAndroid }}, 'true')\n inputs:\n Contents: |\n Stubs/**/bin/**/*.dll\n Microsoft.XamlStandard/bin/**/*.dll\n Microsoft.XamlStandard.Design/bin/**/*.dll\n Xamarin.Forms.Core/bin/**/*.dll\n Xamarin.Forms.Core/bin/**/*.pdb\n Xamarin.Forms.Core/bin/**/*.mdb\n Xamarin.Forms.Xaml/bin/**/*.dll\n Xamarin.Forms.Xaml/bin/**/*.pdb\n Xamarin.Forms.Xaml/bin/**/*.mdb\n Xamarin.Forms.Platform/bin/**/*.dll\n Xamarin.Forms.Build.Tasks/bin/**/*.dll\n Xamarin.Forms.Core.Design/bin/**/*.dll\n Xamarin.Forms.Xaml.Design/bin/**/*.dll\n Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Platform.MacOS/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.MacOS/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps.iOS/bin/iPhoneSimulator/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps.MacOS/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Core.UnitTests/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Xaml.UnitTests/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.pdb\n Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.dll\n Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.mdb\n Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll\n **/*.binlog\n\n TargetFolder: ${{ parameters.artifactsTargetFolder }}\n\n - task: CopyFiles@2\n displayName: 'Copy UWP'\n condition: eq(${{ parameters.includeUwp }}, 'true')\n inputs:\n Contents: |\n Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.pri\n Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.xr.xml\n Xamarin.Forms.Platform.UAP/obj/$(BuildConfiguration)/**/*.xaml\n Xamarin.Forms.Platform.UAP/Properties/Xamarin.Forms.Platform.UAP.rd.xml\n Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.pri\n Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.xbf\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll\n\n TargetFolder: ${{ parameters.artifactsTargetFolder }}\n \n - task: CopyFiles@2\n displayName: 'Copy Android Files dlls'\n condition: eq('${{ parameters.includeAndroid }}', true)\n inputs:\n Contents: |\n Stubs/**/bin/**/*.dll\n Xamarin.Forms.Platform.Android/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.Android/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.Android.FormsViewGroup/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.Android.FormsViewGroup/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.Maps.Android/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb\n Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb\n Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll\n **/*.binlog\n\n TargetFolder: ${{ parameters.artifactsTargetFolder }}\n\n - task: CopyFiles@2\n displayName: 'Copy Cake File'\n inputs:\n Contents: |\n build.cake\n TargetFolder: '${{ parameters.artifactsTargetFolder }}'\n CleanTargetFolder: false\n flattenFolders: false\n\n - task: CopyFiles@2\n displayName: 'Copy UITest Files'\n condition: eq(variables['BuildConfiguration'], 'Release')\n inputs:\n SourceFolder: Xamarin.Forms.Core.Windows.UITests/bin/Debug/\n TargetFolder: '${{ parameters.artifactsTargetFolder }}/UITests'\n\n - task: CopyFiles@2\n displayName: 'Copy Certificate File'\n condition: eq(variables['BuildConfiguration'], 'Debug')\n inputs:\n Contents: |\n Xamarin.Forms.ControlGallery.WindowsUniversal\Xamarin.Forms.ControlGallery.WindowsUniversal_TemporaryKey.pfx\n TargetFolder: ${{ parameters.artifactsTargetFolder }}\n CleanTargetFolder: false\n flattenFolders: false\n\n - task: CopyFiles@2\n displayName: 'Copy releasable binaries for compliance scanning'\n condition: eq(variables['BuildConfiguration'], 'Release')\n inputs:\n Contents: |\n **/bin/Release/**/Xamarin.Forms.*.dll\n **/bin/Release/**/FormsViewGroup.dll\n !**/bin/Release/**/*.UnitTests.dll\n !**/bin/Release/**/*.ControlGallery.*.dll\n !**/bin/Release/**/Xamarin.Forms.Controls.dll\n TargetFolder: '$(build.artifactstagingdirectory)/${{ parameters.artifactApiscan }}'\n CleanTargetFolder: true\n flattenFolders: true\n\n - ${{ if eq(parameters.publishArtifacts, 'true') }}:\n - task: PublishBuildArtifacts@1\n displayName: 'Publish Releasable Binaries for compliance scanning'\n condition: eq(variables['BuildConfiguration'], 'Release')\n inputs:\n PathtoPublish: '$(build.artifactstagingdirectory)/${{ parameters.artifactApiscan }}'\n ArtifactName: ${{ parameters.artifactApiscan }}\n\n - ${{ if eq(parameters.publishArtifacts, 'true') }}:\n - task: PublishBuildArtifacts@1\n displayName: 'Publish Artifact: ${{ parameters.artifactBinaries }}'\n condition: always()\n inputs:\n ArtifactName: ${{ parameters.artifactBinaries }}\n
dataset_sample\yaml\xamarin_Xamarin.Forms\build\steps\build-windows.yml
build-windows.yml
YAML
12,192
0.8
0.015625
0.034188
node-utils
645
2023-09-19T05:08:04.970344
GPL-3.0
false
1e7be5d174314f138fafead8e5a5b1f7
variables:\n- name: DefaultBuildPlatform\n value: 'any cpu'\n- name: ApkName\n value: AndroidControlGallery.AndroidControlGallery.apk\n- name: BuildVersion\n value: $[counter('nuget-counter-1', 2400)]\n- name: NUGET_VERSION\n value: 5.8.1\n- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE\n value: true\n- name: DOTNET_VERSION\n value: 5.0.102\n- name: signingCondition\n value: and(succeeded(), or(eq(variables['Sign'], 'true'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'],'refs/tags/'))))\n- group: Xamarin-Secrets\n\nparameters:\n - name: VM_IMAGE_HOST\n type: object\n default:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2019\n os: windows\n \n - name: PackPlatform\n type: object\n default:\n name: Windows\n artifact: nuget\n binariesArtifact: win_build\n apiscanArtifact: apiscan\n\n - name: Skip1ESComplianceTasks\n default: false\n\nresources:\n repositories:\n - repository: xamarin-templates\n type: github\n name: xamarin/yaml-templates\n endpoint: xamarin\n ref: refs/heads/main\n - repository: 1ESPipelineTemplates\n type: git\n name: 1ESPipelineTemplates/1ESPipelineTemplates\n ref: refs/tags/release\n\ntrigger:\n branches:\n include:\n - main\n - 5.*\n tags:\n include:\n - '*'\n paths:\n exclude:\n - README.md\n\npr:\n autoCancel: false\n branches:\n include:\n - main\n - 5.*\n\nschedules:\n- cron: "0 0 * * *"\n displayName: Daily midnight build\n branches:\n include:\n - 5.0.0\n\nextends:\n template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates\n parameters:\n pool: ${{ parameters.VM_IMAGE_HOST }}\n sdl:\n ${{ if eq('${{ parameters.Skip1ESComplianceTasks }}', 'true') }}:\n enableAllTools: false\n binskim:\n scanOutputDirectoryOnly: true\n codeql:\n runSourceLanguagesInSourceAnalysis: true\n policheck:\n enabled: true\n spotBugs:\n enabled: false\n justification: 'Failing with "Could not successfully find the java tool launcher"'\n sourceRepositoriesToScan:\n exclude:\n - repository: yaml-templates\n suppression:\n suppressionFile: $(Build.SourcesDirectory)\build\automation\guardian\source.gdnsuppress\n stages:\n - stage: windows\n displayName: Build Windows\n jobs:\n - job: win_hosted\n workspace:\n clean: all\n displayName: ${{ parameters.PackPlatform.name }}\n timeoutInMinutes: 60\n pool: ${{ parameters.VM_IMAGE_HOST }}\n templateContext:\n outputs:\n - output: pipelineArtifact\n displayName: 'Publish the ${{ parameters.PackPlatform.binariesArtifact }} artifacts'\n artifactName: ${{ parameters.PackPlatform.binariesArtifact }}\n targetPath: '$(Build.ArtifactStagingDirectory)'\n - output: pipelineArtifact\n displayName: 'Publish the ${{ parameters.PackPlatform.apiscanArtifact }} artifacts'\n artifactName: ${{ parameters.PackPlatform.apiscanArtifact }}\n targetPath: '$(Build.ArtifactStagingDirectory)/${{ parameters.PackPlatform.apiscanArtifact }}'\n variables:\n BuildConfiguration: Release\n steps:\n - template: /build/steps/build-windows.yml@self\n parameters:\n provisionatorPath : 'build/provisioning/provisioning.csx'\n provisionatorVSPath : 'build/provisioning/vs.csx'\n runTests: false\n publishArtifacts: false\n binariesArtifact: ${{ parameters.PackPlatform.binariesArtifact }}\n artifact: ${{ parameters.PackPlatform.artifact }}\n artifactBinaries: ${{ parameters.PackPlatform.binariesArtifact }}\n artifactsTargetFolder: '$(Build.ArtifactStagingDirectory)'\n artifactApiscan: '${{ parameters.PackPlatform.apiscanArtifact }}'\n \n - job: nuget_pack_hosted\n workspace:\n clean: all\n displayName: Nuget Phase\n dependsOn:\n - win_hosted\n condition: succeeded()\n pool: ${{ parameters.VM_IMAGE_HOST }}\n templateContext:\n outputs: \n - output: pipelineArtifact\n displayName: 'Publish the ${{ parameters.PackPlatform.artifact }} artifacts'\n artifactName: ${{ parameters.PackPlatform.artifact }}\n targetPath: '$(Build.ArtifactStagingDirectory)/nuget/Release'\n variables:\n FormsIdAppend: ''\n buildConfiguration: Release\n nugetPackageVersion : $[ dependencies.win_hosted.outputs['winbuild.xamarinformspackageversion'] ]\n steps:\n - template: /build/steps/build-nuget.yml@self\n parameters:\n nugetForRelease : true\n nugetForDebug : false\n publishArtifacts: false\n artifact: ${{ parameters.PackPlatform.artifact }}\n binariesArtifact: ${{ parameters.PackPlatform.binariesArtifact }}\n artifactsTargetFolder: '$(build.artifactstagingdirectory)/${{ parameters.PackPlatform.artifact }}'\n\n - template: security/apiscan/v0.yml@xamarin-templates\n parameters:\n windowsPoolName: ${{ parameters.VM_IMAGE_HOST.name }}\n windowsImageOverride: ${{ parameters.VM_IMAGE_HOST.image }}\n stageDependsOn: 'windows'\n timeoutInMinutes: 600\n scanArtifacts: [ '${{ parameters.PackPlatform.artifact }}', '${{ parameters.PackPlatform.apiscanArtifact }}' ]\n sourceGdnSuppressionFile: '$(Build.SourcesDirectory)\build\automation\guardian\source.gdnsuppress'\n tsaConfigFile: '$(Build.SourcesDirectory)\build\automation\tsaoptions-v2.json'\n apiScanSoftwareName: 'Xamarin.Forms'\n apiScanSoftwareVersionNum: '5.0.0'\n \n - stage: nuget_signing\n dependsOn: windows\n displayName: Sign Nuget\n jobs:\n - template: sign-artifacts/jobs/v2.yml@xamarin-templates\n parameters:\n displayName: Sign Phase\n condition: ${{ variables.signingCondition }}\n use1ESTemplate: true\n usePipelineArtifactTasks: true\n
dataset_sample\yaml\xamarin_Xamarin.Forms\eng\xf-release.yml
xf-release.yml
YAML
6,440
0.7
0.005556
0
python-kit
568
2025-01-01T10:11:50.620173
MIT
false
f00639c6d1b4f1a1152878ec4129512b
build: false\nversion: dev-{build}\nclone_folder: C:\projects\yii2\n\nenvironment:\n matrix:\n - php_ver: 7.3.0\n\ncache:\n - '%APPDATA%\Composer'\n - '%LOCALAPPDATA%\Composer'\n - C:\tools\php -> .appveyor.yml\n - C:\tools\composer.phar -> .appveyor.yml\n\ninit:\n - SET PATH=C:\tools\php;%PATH%\n\ninstall:\n - ps: Set-Service wuauserv -StartupType Manual\n - IF NOT EXIST C:\tools\php (choco install --yes --allow-empty-checksums php --version %php_ver% --params '/InstallDir:C:\tools\php')\n - cd C:\tools\php\n - copy php.ini-production php.ini\n - echo date.timezone="UTC" >> php.ini\n - echo memory_limit=512M >> php.ini\n - echo extension_dir=ext >> php.ini\n - echo extension=php_curl.dll >> php.ini\n - echo extension=php_fileinfo.dll >> php.ini\n - echo extension=php_gd2.dll >> php.ini\n - echo extension=php_intl.dll >> php.ini\n - echo extension=php_mbstring.dll >> php.ini\n - echo extension=php_openssl.dll >> php.ini\n - echo extension=php_pdo_sqlite.dll >> php.ini\n - IF NOT EXIST C:\tools\composer.phar (cd C:\tools && appveyor DownloadFile https://getcomposer.org/download/2.6.3/composer.phar)\n\nbefore_test:\n - cd C:\projects\yii2\n - php C:\tools\composer.phar update --no-interaction --no-progress --prefer-stable --no-ansi\n\ntest_script:\n - cd C:\projects\yii2\n - vendor\bin\phpunit --exclude-group mssql,mysql,pgsql,sqlite,db,oci,wincache,xcache,zenddata,cubrid\n
dataset_sample\yaml\yiisoft_yii2\.appveyor.yml
.appveyor.yml
YAML
1,433
0.8
0
0
vue-tools
199
2024-05-25T05:26:41.741125
GPL-3.0
false
042ee95f6ee57b03a2dde053f1f1b5a0
engines:\n duplication:\n enabled: true\n config:\n languages:\n - javascript\n - php\n eslint:\n enabled: true\n fixme:\n enabled: true\n phpmd:\n enabled: true\n config:\n rulesets: "codesize,design,unusedcode,tests/data/codeclimate/phpmd_ruleset.xml"\nratings:\n paths:\n - "**.js"\n - "**.php"\nexclude_paths:\n- tests/\n- build/\n- docs/\n- framework/messages/\n\nchecks:\n file-lines:\n enabled: false\n method-count:\n enabled: false\n method-lines:\n enabled: false\n
dataset_sample\yaml\yiisoft_yii2\.codeclimate.yml
.codeclimate.yml
YAML
500
0.7
0
0
awesome-app
259
2024-09-23T00:31:00.987682
Apache-2.0
false
e8c6e672f96ac825a2af223d550969ae
image: docker:latest\n\nservices:\n - docker:dind\n\nvariables:\n DOCKER_YII2_PHP_IMAGE: yiisoftware/yii2-php:7.4-apache\n DOCKER_MYSQL_IMAGE: percona:5.7\n DOCKER_POSTGRES_IMAGE: postgres:9.3\n\nbefore_script:\n - apk add --no-cache git curl docker-compose\n - docker info\n - cd tests\n\nstages:\n - travis\n - test\n - cleanup\n\ntest:\n stage: test\n script:\n - docker-compose up --build -d\n - docker-compose run --rm php vendor/bin/phpunit -v --exclude caching,db,data --log-junit tests/_junit/test.xml\n\ncaching:\n stage: test\n only:\n - tests/caching\n - tests/full\n script:\n - export COMPOSE_FILE=docker-compose.yml:docker-compose.${CI_BUILD_NAME}.yml\n - docker-compose up --build -d\n - docker-compose run --rm php vendor/bin/phpunit -v --group caching --exclude db\n\ndb:\n stage: test\n only:\n - tests/mysql\n - tests/full\n script:\n - docker-compose up --build -d\n - docker-compose run --rm php vendor/bin/phpunit -v --group db --exclude caching,mysql,pgsql,mssql,cubrid,oci\n\n\nmysql:\n stage: test\n only:\n - tests/mysql\n - tests/full\n script:\n - export COMPOSE_FILE=docker-compose.yml:docker-compose.${CI_BUILD_NAME}.yml\n - docker-compose up --build -d\n # wait for db (retry X times)\n - docker-compose run --rm php bash -c "while ! curl mysql:3306; do ((c++)) && ((c==30)) && break; sleep 2; done"\n - docker-compose run --rm php vendor/bin/phpunit -v --group mysql\n\n\npgsql:\n stage: test\n only:\n - tests/pgsql\n - tests/full\n script:\n - export COMPOSE_FILE=docker-compose.yml:docker-compose.${CI_BUILD_NAME}.yml\n - docker-compose up --build -d\n # wait for db (retry X times)\n - docker-compose run --rm php bash -c 'while [ true ]; do curl postgres:5432; if [ $? == 52 ]; then break; fi; ((c++)) && ((c==25)) && break; sleep 2; done'\n - docker-compose run --rm php vendor/bin/phpunit -v --group pgsql\n\n\ncubrid:\n stage: test\n only:\n - tests/cubrid\n - tests/extra\n script:\n - cd cubrid\n - docker-compose up --build -d\n # wait for db (retry X times)\n - docker-compose run --rm php bash -c 'while [ true ]; do curl cubrid:1523; if [ $? == 56 ]; then break; fi; ((c++)) && ((c==20)) && break; sleep 3; done'\n - sleep 5\n - docker-compose run --rm php /project/vendor/bin/phpunit -v --group cubrid\n\n\nmssql:\n stage: test\n only:\n - tests/mssql\n - tests/extra\n script:\n - cd mssql\n - docker-compose up --build -d\n # wait for db (retry X times)\n - docker-compose run --rm php bash -c 'while [ true ]; do curl mssql:1433; if [ $? == 52 ]; then break; fi; ((c++)) && ((c==15)) && break; sleep 5; done'\n - sleep 3\n # Note: Password has to be the last parameter\n - docker-compose run --rm sqlcmd sh -c 'sqlcmd -S mssql -U sa -Q "CREATE DATABASE yii2test" -P Microsoft-12345'\n - docker-compose run --rm php vendor/bin/phpunit -v --group mssql\n\n\ntravis:\n stage: travis\n only:\n - travis\n script:\n - export COMPOSE_FILE=docker-compose.yml:docker-compose.mysql.yml:docker-compose.pgsql.yml\n - docker-compose up --build -d\n # wait for dbs ...\n - sleep 10\n - docker-compose run --rm php vendor/bin/phpunit -v --exclude mssql,cubrid,oci,wincache,xcache,zenddata,cubrid\n\n
dataset_sample\yaml\yiisoft_yii2\.gitlab-ci.yml
.gitlab-ci.yml
YAML
3,202
0.8
0.106195
0.063158
awesome-app
365
2023-12-13T00:40:11.118997
MIT
false
a32a66e9b8e08fdc675b5317c64c135c
checks:\n php: true\n\nfilter:\n paths:\n - framework/\n\n excluded_paths:\n - vendor/\n\n dependency_paths:\n - vendor/\n\nbuild:\n image: default-bionic\n\n environment:\n php:\n version: 8.1\n ini:\n xdebug.mode: coverage,develop\n memory_limit: -1\n\n nodes:\n analysis:\n tests:\n override:\n - php-scrutinizer-run\n\n phpunit:\n dependencies:\n override:\n - composer self-update\n - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n services:\n db-mysql:\n image: mysql:5.7\n\n # Define any additional environment variables that are needed by the service.\n env:\n MYSQL_ALLOW_EMPTY_PASSWORD: 1\n MYSQL_ROOT_PASSWORD: root\n MYSQL_DATABASE: yiitest\n\n # We automatically forward these ports from your localhost to the service's port.\n # Alternatively, you can also access the service on the "$SERVICE_SOME_NAME_IP"\n # environment variable.\n ports:\n # Forward 127.0.0.1:12345 -> SERVICE_IP:12345\n - 3306\n\n # If your service writes data to disk like most databases do, you can significantly\n # speed up tests by mounting a ramdisk at those paths.\n ramdisks:\n - /var/lib/data\n\n db-pgsql:\n image: postgres:14\n\n # Define any additional environment variables that are needed by the service.\n env:\n POSTGRES_USER: postgres\n POSTGRES_PASSWORD: postgres\n POSTGRES_DB: yiitest\n\n # We automatically forward these ports from your localhost to the service's port.\n # Alternatively, you can also access the service on the "$SERVICE_SOME_NAME_IP"\n # environment variable.\n ports:\n # Forward 127.0.0.1:12345 -> SERVICE_IP:12345\n - 5432\n\n # If your service writes data to disk like most databases do, you can significantly\n # speed up tests by mounting a ramdisk at those paths.\n ramdisks:\n - /var/lib/data\n\n memcached:\n image: memcached\n\n tests:\n before:\n - sudo locale-gen fr_FR.UTF-8\n\n override:\n - command: ./vendor/bin/phpunit --verbose --exclude-group cubrid,oci,mssql,wincache,xcache,zenddata --colors=always --coverage-clover ./coverage.xml\n on_node: 1\n coverage:\n file: coverage.xml\n format: php-clover\n
dataset_sample\yaml\yiisoft_yii2\.scrutinizer.yml
.scrutinizer.yml
YAML
2,534
0.8
0
0.191781
awesome-app
95
2023-09-19T02:23:31.527622
MIT
false
6094353c0fadbca651a6a5868985da17
# These are supported funding model platforms\n\nopen_collective: yiisoft\ngithub: [yiisoft]\ntidelift: "packagist/yiisoft/yii2"\n
dataset_sample\yaml\yiisoft_yii2\.github\FUNDING.yml
FUNDING.yml
YAML
125
0.8
0
0.25
node-utils
314
2024-10-19T12:10:02.629237
GPL-3.0
false
107ca14007cb248d0b291d74aafcb60f
name: build\n\non: [push, pull_request]\n\nenv:\n DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"\n PHPUNIT_EXCLUDE_GROUP: db,wincache,xcache,zenddata\n XDEBUG_MODE: coverage, develop\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n phpunit:\n name: PHP ${{ matrix.php }}\n\n runs-on: ubuntu-latest\n\n strategy:\n fail-fast: false\n matrix:\n include:\n - php: 7.3\n extensions: apc, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: none\n - php: 7.4\n extensions: apc, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: xdebug\n - php: 8.0\n extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: none\n - php: 8.1\n extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: none\n - php: 8.2\n extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: none\n - php: 8.3\n extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: none\n os: ubuntu-latest\n - php: 8.4\n extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached\n coverage: none\n os: ubuntu-latest\n\n steps:\n - name: Generate french locale.\n run: sudo locale-gen fr_FR.UTF-8\n\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install PHP.\n uses: shivammathur/setup-php@v2\n with:\n coverage: ${{ matrix.coverage }}\n extensions: ${{ matrix.extensions }}\n ini-values: apc.enabled=1,apc.shm_size=32M,apc.enable_cli=1, date.timezone='UTC', session.save_path="${{ runner.temp }}"\n php-version: ${{ matrix.php }}\n tools: pecl\n\n - name: Install Memcached.\n uses: niden/actions-memcached@v7\n\n - name: Install dependencies.\n if: matrix.php != '8.4'\n run: composer update $DEFAULT_COMPOSER_FLAGS\n\n - name: Install dependencies with PHP 8.4.\n if: matrix.php == '8.4'\n run: composer update $DEFAULT_COMPOSER_FLAGS --ignore-platform-reqs\n\n - name: Run tests with PHPUnit and generate coverage.\n if: matrix.php == '7.4'\n run: vendor/bin/phpunit --verbose --exclude-group $PHPUNIT_EXCLUDE_GROUP --coverage-clover=coverage.xml --colors=always\n\n - name: Run tests with PHPUnit.\n if: matrix.php != '7.4'\n run: vendor/bin/phpunit --verbose --exclude-group $PHPUNIT_EXCLUDE_GROUP --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\build.yml
build.yml
YAML
2,920
0.7
0.056818
0
python-kit
230
2025-04-15T20:40:31.241146
MIT
false
d905e24895ae75f656451dbfde0f959d
on:\n - pull_request\n - push\n\nname: ci-mariadb\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n tests:\n name: PHP ${{ matrix.php }}-mariadb-${{ matrix.mariadb }}\n env:\n extensions: curl, intl, pdo, pdo_mysql\n XDEBUG_MODE: coverage, develop\n\n runs-on: ubuntu-latest\n\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest]\n php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]\n mariadb:\n - mariadb:10.4\n - mariadb:latest\n\n services:\n mysql:\n image: ${{ matrix.mariadb }}\n env:\n MARIADB_ROOT_PASSWORD: root\n MARIADB_DATABASE: yiitest\n ports:\n - 3306:3306\n options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=3\n\n steps:\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install PHP with extensions.\n uses: shivammathur/setup-php@v2\n with:\n coverage: xdebug\n extensions: ${{ env.EXTENSIONS }}\n ini-values: date.timezone='UTC'\n php-version: ${{ matrix.php }}\n tools: composer:v2, pecl\n\n - name: Install dependencies with composer\n if: matrix.php != '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n - name: Install dependencies with PHP 8.4.\n if: matrix.php == '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs --ansi\n\n - name: Run MariaDB tests with PHPUnit and generate coverage.\n run: vendor/bin/phpunit --group mysql --coverage-clover=coverage.xml --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-mariadb.yml
ci-mariadb.yml
YAML
1,948
0.7
0.044118
0
vue-tools
754
2024-08-29T22:52:52.133731
BSD-3-Clause
false
989175b5f2f4b20af3e9050d0f5a139d
on:\n - pull_request\n - push\n\nname: ci-mssql\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n tests:\n name: PHP ${{ matrix.php }}-mssql-${{ matrix.mssql.version }}\n\n env:\n EXTENSIONS: pdo, pdo_sqlsrv\n XDEBUG_MODE: coverage, develop\n\n runs-on: ${{ matrix.mssql.os || 'ubuntu-latest' }}\n\n strategy:\n fail-fast: false\n matrix:\n php:\n - 7.4\n - 8.0\n - 8.1\n - 8.2\n - 8.3\n - 8.4\n\n mssql:\n - version: server:2022-latest\n mssql-tool: /opt/mssql-tools18/bin/sqlcmd -C\n\n include:\n - php: 8.0\n mssql:\n version: server:2019-latest\n mssql-tool: /opt/mssql-tools18/bin/sqlcmd -C\n\n services:\n mssql:\n image: mcr.microsoft.com/mssql/${{ matrix.mssql.version }}\n env:\n SA_PASSWORD: YourStrong!Passw0rd\n ACCEPT_EULA: Y\n MSSQL_PID: Developer\n ports:\n - 1433:1433\n options: --name=mssql --health-cmd="${{ matrix.mssql.mssql-tool }} -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'SELECT 1'" --health-interval=10s --health-timeout=5s --health-retries=3\n\n steps:\n - name: Install ODBC driver\n run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18\n\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Create MS SQL Database\n run: docker exec -i mssql ${{ matrix.mssql.mssql-tool }} -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE yiitest'\n\n - name: Install PHP with extensions\n uses: shivammathur/setup-php@v2\n with:\n coverage: xdebug\n extensions: ${{ env.EXTENSIONS }}\n ini-values: date.timezone='UTC'\n php-version: ${{ matrix.php }}\n tools: composer:v2, pecl\n\n - name: Update composer\n run: composer self-update\n\n - name: Install dependencies with composer\n if: matrix.php != '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n - name: Install dependencies with PHP 8.4.\n if: matrix.php == '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs --ansi\n\n - name: Run MSSQL tests with PHPUnit and generate coverage.\n run: vendor/bin/phpunit --group mssql --coverage-clover=coverage.xml --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-mssql.yml
ci-mssql.yml
YAML
2,705
0.7
0.032967
0
awesome-app
396
2024-03-13T07:08:40.857082
BSD-3-Clause
false
8d4e66558c650a216ba1e8aa5ea1092f
on:\n - pull_request\n - push\n\nname: ci-mysql\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n tests:\n name: PHP ${{ matrix.php }}-mysql-${{ matrix.mysql }}\n env:\n extensions: curl, intl, pdo, pdo_mysql\n XDEBUG_MODE: coverage, develop\n\n runs-on: ubuntu-latest\n\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest]\n php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]\n mysql: [5.7, latest]\n\n services:\n mysql:\n image: mysql:${{ matrix.mysql }}\n env:\n MYSQL_ROOT_PASSWORD: root\n MYSQL_DATABASE: yiitest\n ports:\n - 3306:3306\n options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3\n\n steps:\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install PHP with extensions.\n uses: shivammathur/setup-php@v2\n with:\n coverage: xdebug\n extensions: ${{ env.EXTENSIONS }}\n ini-values: date.timezone='UTC'\n php-version: ${{ matrix.php }}\n tools: composer:v2, pecl\n\n - name: Install dependencies with composer\n if: matrix.php != '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n - name: Install dependencies with PHP 8.4.\n if: matrix.php == '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs --ansi\n\n - name: Run MySQL tests with PHPUnit and generate coverage.\n run: vendor/bin/phpunit --group mysql --coverage-clover=coverage.xml --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-mysql.yml
ci-mysql.yml
YAML
1,897
0.7
0.045455
0
awesome-app
533
2023-11-05T11:45:24.389883
Apache-2.0
false
d4aed7d1904d64946e859ee43fb3a9f3
name: build-node\n\non: [push, pull_request]\n\nenv:\n DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n test:\n name: NPM 10 on ubuntu-latest\n\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install dependencies.\n run: composer update $DEFAULT_COMPOSER_FLAGS\n\n - name: Install JQuery `3.6.*@stable` for tests.\n run: composer require "bower-asset/jquery:3.6.*@stable"\n\n - name: Install node.js.\n uses: actions/setup-node@v4\n with:\n node-version: 20\n\n - name: Tests.\n run: |\n npm install\n npm test\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-node.yml
ci-node.yml
YAML
786
0.85
0.027778
0
vue-tools
441
2024-08-05T18:17:25.063424
BSD-3-Clause
false
fba7958592337789e00adb341cc44f5d
on:\n - pull_request\n - push\n\nname: ci-oracle\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n tests:\n name: PHP ${{ matrix.php }}-${{ matrix.os }}\n\n env:\n extensions: oci8, pdo, pdo_oci\n XDEBUG_MODE: coverage, develop\n\n runs-on: ${{ matrix.os }}\n\n strategy:\n matrix:\n os: [ubuntu-latest]\n php: [7.4]\n\n services:\n oci:\n image: wnameless/oracle-xe-11g-r2:latest\n ports:\n - 1521:1521\n options: --name=oci\n\n steps:\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install PHP with extensions.\n uses: shivammathur/setup-php@v2\n with:\n coverage: xdebug\n extensions: ${{ env.EXTENSIONS }}\n ini-values: date.timezone='UTC'\n php-version: ${{ matrix.php }}\n tools: composer:v2, pecl\n\n - name: Update composer.\n run: composer self-update\n\n - name: Install dependencies with composer.\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n - name: Run Oracle tests with PHPUnit and generate coverage.\n run: vendor/bin/phpunit --group oci --coverage-clover=coverage.xml --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-oracle.yml
ci-oracle.yml
YAML
1,486
0.7
0.016667
0
vue-tools
940
2023-09-11T02:28:55.240617
MIT
false
21d4c4e0228d0e21e00c7cab1606449d
on:\n - pull_request\n - push\n\nname: ci-pgsql\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n tests:\n name: PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql }}\n env:\n extensions: curl, intl, pdo, pdo_pgsql\n XDEBUG_MODE: coverage, develop\n\n runs-on: ubuntu-latest\n\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest]\n php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]\n pgsql: [10, 11, 12, 13, 14, 15]\n\n services:\n postgres:\n image: postgres:${{ matrix.pgsql }}\n env:\n POSTGRES_USER: postgres\n POSTGRES_PASSWORD: postgres\n POSTGRES_DB: yiitest\n ports:\n - 5432:5432\n options: --name=postgres --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3\n\n steps:\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install PHP with extensions\n uses: shivammathur/setup-php@v2\n with:\n coverage: xdebug\n extensions: ${{ env.EXTENSIONS }}\n ini-values: date.timezone='UTC'\n php-version: ${{ matrix.php }}\n tools: composer:v2, pecl\n\n - name: Update composer.\n run: composer self-update\n\n - name: Install dependencies with composer\n if: matrix.php != '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n - name: Install dependencies with PHP 8.4.\n if: matrix.php == '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs --ansi\n\n - name: Run Pgsql tests with PHPUnit and generate coverage.\n run: vendor/bin/phpunit --group pgsql --coverage-clover=coverage.xml --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-pgsql.yml
ci-pgsql.yml
YAML
2,023
0.7
0.042857
0
python-kit
203
2024-12-11T16:54:13.282369
BSD-3-Clause
false
fd94d2777aec0e26825eb22a7cf62070
on:\n - pull_request\n - push\n\nname: ci-sqlite\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n tests:\n name: PHP ${{ matrix.php }}-sqlite\n\n env:\n EXTENSIONS: pdo, pdo_sqlite, sqlite3\n XDEBUG_MODE: coverage, develop\n\n runs-on: ubuntu-latest\n\n strategy:\n fail-fast: false\n matrix:\n os: [ubuntu-latest]\n php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]\n\n steps:\n - name: Checkout.\n uses: actions/checkout@v4\n\n - name: Install PHP with extensions.\n uses: shivammathur/setup-php@v2\n with:\n coverage: xdebug\n extensions: ${{ env.EXTENSIONS }}\n ini-values: date.timezone='UTC'\n php-version: ${{ matrix.php }}\n tools: composer:v2, pecl\n\n - name: Update composer.\n run: composer self-update\n\n - name: Install dependencies with composer\n if: matrix.php != '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi\n\n - name: Install dependencies with PHP 8.4.\n if: matrix.php == '8.4'\n run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs --ansi\n\n - name: Run SQLite tests with PHPUnit and generate coverage.\n run: vendor/bin/phpunit --group sqlite --coverage-clover=coverage.xml --colors=always\n\n - name: Upload coverage to Codecov.\n if: matrix.php == '7.4'\n uses: codecov/codecov-action@v4\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n file: ./coverage.xml\n
dataset_sample\yaml\yiisoft_yii2\.github\workflows\ci-sqlite.yml
ci-sqlite.yml
YAML
1,631
0.7
0.050847
0
awesome-app
610
2025-02-28T03:35:02.425038
GPL-3.0
false
aecdbd94986c41b2329b94fdf65d46d3
# These are supported funding model platforms\n\nopen_collective: yiisoft\ngithub: [yiisoft]\ntidelift: "packagist/yiisoft/yii2"\n
dataset_sample\yaml\yiisoft_yii2\framework\.github\FUNDING.yml
FUNDING.yml
YAML
125
0.8
0
0.25
react-lib
725
2024-06-17T10:56:55.428874
GPL-3.0
false
107ca14007cb248d0b291d74aafcb60f
version: '2'\nservices:\n\n php:\n depends_on:\n - redis\n - memcached\n\n redis:\n image: redis\n\n memcached:\n image: memcached\n
dataset_sample\yaml\yiisoft_yii2\tests\docker-compose.caching.yml
docker-compose.caching.yml
YAML
141
0.7
0
0
python-kit
944
2024-03-26T01:32:17.095856
GPL-3.0
true
1d0b45ee5426b2fc4a86607f45da6437
version: '2'\nservices:\n\n php:\n depends_on:\n - mysql\n\n mysql:\n image: ${DOCKER_MYSQL_IMAGE}\n environment:\n - MYSQL_ROOT_PASSWORD=secret\n - MYSQL_DATABASE=yiitest\n - MYSQL_USER=travis\n - MYSQL_PASSWORD=travis\n\n
dataset_sample\yaml\yiisoft_yii2\tests\docker-compose.mysql.yml
docker-compose.mysql.yml
YAML
244
0.7
0
0
awesome-app
934
2024-11-25T23:16:35.864062
GPL-3.0
true
00d2e5589ce81999268aa570f5c7cb7f
version: '2'\n\nservices:\n\n php:\n depends_on:\n - postgres\n\n postgres:\n image: ${DOCKER_POSTGRES_IMAGE}\n environment:\n - POSTGRES_DB=yiitest\n - POSTGRES_USER=postgres\n - POSTGRES_PASSWORD=postgres
dataset_sample\yaml\yiisoft_yii2\tests\docker-compose.pgsql.yml
docker-compose.pgsql.yml
YAML
224
0.7
0
0
vue-tools
630
2023-09-18T00:18:54.182459
BSD-3-Clause
true
13cb1d7509a5c7ed50c60359931fcc6e
version: '2'\nservices:\n\n php:\n build:\n context: ..\n args:\n DOCKER_YII2_PHP_IMAGE: ${DOCKER_YII2_PHP_IMAGE}\n working_dir: /project\n volumes:\n - ../tests/data/config-docker.php:/project/tests/data/config.php\n # Enable for debugging, enabling tests might be slow for file access (data) on host-volume\n - ../tests:/project/tests\n - ../framework:/project/framework\n # Tmpfs volume (experimental, asset tests may fail)\n #tmpfs:\n # - /project/tests/runtime\n environment:\n - TEST_RUNTIME_PATH=/tmp/runtime\n
dataset_sample\yaml\yiisoft_yii2\tests\docker-compose.yml
docker-compose.yml
YAML
563
0.8
0.105263
0.222222
python-kit
861
2025-05-12T07:50:58.592780
MIT
true
f2be1522ca7853aa28146f7352648b51
version: '2'\nservices:\n\n php:\n build:\n context: ../..\n dockerfile: tests/cubrid/Dockerfile\n ports:\n - 80\n #volumes:\n # - ../..:/project\n depends_on:\n - cubrid\n\n cubrid:\n image: lighthopper/cubrid:9.3.6.0002\n command: ./create-start-demodb.sh
dataset_sample\yaml\yiisoft_yii2\tests\cubrid\docker-compose.yml
docker-compose.yml
YAML
285
0.8
0
0.133333
node-utils
694
2024-11-06T07:07:12.030437
BSD-3-Clause
true
26485782671ebefef7100c761aa97f52
version: '2'\nservices:\n\n php:\n build:\n context: ../..\n dockerfile: tests/mssql/Dockerfile\n # Alternative pre-built image (TODO: evaluate)\n #image: ppoffice/apache-php-mssql-odbc\n ports:\n - 80\n # Enable for debugging, Note: File-cache tests may be VERY slow or fail\n #volumes:\n # - ../../..:/project\n volumes:\n - ../../tests/data/config-docker.php:/project/tests/data/config.php\n depends_on:\n - mssql\n # Enable for debugging\n #entrypoint: ['bash']\n\n mssql:\n image: microsoft/mssql-server-linux\n # Alternative pre-built image (TODO: evaluate)\n #image: microsoft/mssql-server-windows\n environment:\n - ACCEPT_EULA=Y\n - SA_PASSWORD=Microsoft-12345\n\n sqlcmd:\n image: tsgkadot/mssql-tools\n # Mount project for accessing SQL dump (TODO)\n volumes:\n - ../..:/project\n # Enable for debugging\n #entrypoint: ['bash']\n
dataset_sample\yaml\yiisoft_yii2\tests\mssql\docker-compose.yml
docker-compose.yml
YAML
908
0.8
0.111111
0.363636
react-lib
679
2024-08-22T13:33:38.122985
BSD-3-Clause
true
66bb624a35a6adaca3e99ff3c344cb96
# These are supported funding model platforms\n\ngithub: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]\npatreon: # Replace with a single Patreon username\nopen_collective: # Replace with a single Open Collective username\nko_fi: yorukot # Replace with a single Ko-fi username\ntidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel\ncommunity_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry\nliberapay: # Replace with a single Liberapay username\nissuehunt: # Replace with a single IssueHunt username\nlfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry\npolar: # Replace with a single Polar username\nbuy_me_a_coffee: # Replace with a single Buy Me a Coffee username\ncustom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']\n
dataset_sample\yaml\yorukot_superfile\.github\FUNDING.yml
FUNDING.yml
YAML
873
0.8
0
0.076923
node-utils
632
2023-08-27T21:20:38.438152
BSD-3-Clause
false
f3f1b30fc9059f69006e3d5d34b79fe4
name: Update gomod2nix.toml\non:\n push:\n paths:\n - 'go.mod'\n - 'go.sum'\n\npermissions:\n contents: write\n\njobs:\n dependabot:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - name: Install Nix\n uses: cachix/install-nix-action@v31\n with:\n github_access_token: ${{ secrets.GITHUB_TOKEN }}\n nix_path: nixpkgs=channel:nixos-unstable\n\n - name: Update checksum\n run: |\n nix develop --extra-experimental-features "nix-command flakes" '.#' -c "gomod2nix"\n # git push if we have a diff\n if [[ -n $(git diff) ]]; then\n git config --global user.email "107802416+yorukot@users.noreply.github.com"\n git config --global user.name "yorukot"\n git commit -am "chore: update gomod2nix"\n BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's/refs\/heads\///g')\n git push origin HEAD:$BRANCH_NAME\n fi\n\n
dataset_sample\yaml\yorukot_superfile\.github\workflows\update-gomod2nix.yml
update-gomod2nix.yml
YAML
953
0.8
0.060606
0.034483
vue-tools
104
2024-09-02T00:21:48.889599
Apache-2.0
false
0cd4b69d5dc71408fee87225568104c7
version: 2\nupdates:\n - package-ecosystem: github-actions\n directory: "/"\n schedule:\n interval: daily\n # - package-ecosystem: composer\n # directory: "/"\n # schedule:\n # interval: daily\n
dataset_sample\yaml\YOURLS_YOURLS\.github\dependabot.yml
dependabot.yml
YAML
208
0.8
0
0.4
vue-tools
794
2024-11-18T19:20:44.637936
Apache-2.0
false
d1d171c0a01023a36a0b538ca1cfcb57
# https://docs.github.com/actions\n\nname: Auto-merge\n\non: pull_request_target\n\npermissions:\n pull-requests: write\n contents: write\n\njobs:\n dependabot:\n name: Dependabot\n uses: YOURLS/.github/.github/workflows/auto-merge.yml@main\n
dataset_sample\yaml\YOURLS_YOURLS\.github\workflows\auto-merge.yml
auto-merge.yml
YAML
237
0.8
0
0.1
vue-tools
37
2024-05-19T09:11:36.888457
GPL-3.0
false
c17e0ed69f344fd8d8cadc78c2300b2d
name: CI\n\non:\n push:\n pull_request:\n branches: [ master ]\n\njobs:\n test:\n name: PHP ${{ matrix.php }}\n runs-on: ubuntu-latest\n\n strategy:\n fail-fast: false\n matrix:\n php: ['8.1', '8.2', '8.3', '8.4']\n include:\n - php: '8.1'\n coverage: xdebug\n flags: '--coverage-clover clover.xml'\n\n services:\n mysql:\n image: mariadb\n ports:\n - 3306/tcp\n env:\n MYSQL_ALLOW_EMPTY_PASSWORD: false\n MYSQL_ROOT_PASSWORD: secret\n MYSQL_DATABASE: yourls_tests\n MARIADB_MYSQL_LOCALHOST_USER: 1\n MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE\n options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Use PHP ${{ matrix.php }}\n uses: shivammathur/setup-php@2.33.0\n with:\n php-version: ${{ matrix.php }}\n extensions: mbstring, curl, zip, dom, simplexml, intl, pdo_mysql\n tools: phpunit\n coverage: ${{ matrix.coverage }}\n\n # - name: Validate composer.json and composer.lock\n # run: composer validate\n\n # - name: Cache Composer packages\n # id: composer-cache\n # uses: actions/cache@v2\n # with:\n # path: vendor\n # key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}\n # restore-keys: |\n # ${{ runner.os }}-php-\n\n # - name: Install dependencies\n # if: steps.composer-cache.outputs.cache-hit != 'true'\n # run: composer install --prefer-dist --no-progress --no-suggest\n # env:\n # APP_ENV: testing\n\n # - name: Lint\n # run: composer run-script lint\n\n - name: Prepare the application\n run: |\n git clone https://github.com/ozh/YOURLS-fr_FR.git user/languages/fr\n cp user/languages/fr/fr_FR.* user/languages\n cp tests/data/config/yourls-tests-config-ci.php user/config.php\n\n - name: Test\n run: phpunit --configuration phpunit.xml.dist --testdox --display-deprecations --display-notices --display-warnings --display-errors ${{ matrix.flags }}\n env:\n DB_PORT: ${{ job.services.mysql.ports['3306'] }}\n
dataset_sample\yaml\YOURLS_YOURLS\.github\workflows\ci.yml
ci.yml
YAML
2,239
0.8
0.013158
0.265625
awesome-app
394
2024-04-14T08:50:45.363576
MIT
false
60b6cff628a4403ed8a45363fa09fd11
name: Update certificates\n\non:\n # Run every Monday at 13:37\n schedule:\n - cron: '37 13 * * 1'\n # And manually\n workflow_dispatch:\n\n# Cancels all previous workflow runs for the same branch that have not yet completed.\nconcurrency:\n # The concurrency group contains the workflow name and the branch name.\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\npermissions:\n contents: write\n pull-requests: write\n\njobs:\n certificate-check:\n name: "Check for updated certificate bundle"\n # Don't run the cron job on forks.\n if: ${{ github.event_name != 'schedule' || github.repository == 'YOURLS/YOURLS' }}\n\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Generate token\n uses: actions/create-github-app-token@v2\n id: app-token\n with:\n app-id: ${{ vars.BOT_APP_ID }}\n private-key: ${{ secrets.BOT_PRIVATE_KEY }}\n\n - name: Get GitHub App User ID\n id: get-user-id\n run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"\n env:\n GH_TOKEN: ${{ steps.app-token.outputs.token }}\n\n - name: Get current certificate bundle\n working-directory: ./includes/vendor/rmccue/requests/certificates\n run: |\n curl --remote-name https://curl.se/ca/cacert.pem\n curl --remote-name https://curl.se/ca/cacert.pem.sha256\n\n - name: Verify the checksum of the downloaded bundle\n working-directory: ./includes/vendor/rmccue/requests/certificates\n run: sha256sum --check cacert.pem.sha256\n\n - name: "Debug info: Show git status"\n run: git status -vv --untracked=all\n\n - name: "Get date"\n id: get-date\n run: echo "DATE=$(/bin/date -u "+%F")" >> $GITHUB_OUTPUT\n\n - name: Create pull request\n uses: peter-evans/create-pull-request@v7\n id: pull-request\n with:\n token: ${{ steps.app-token.outputs.token }}\n author: "${{ steps.app-token.outputs.app-slug }}[bot] <${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>"\n base: master\n branch: auto-update-cacert\n delete-branch: true\n commit-message: "Update certificates"\n title: "Update certificates"\n body: |\n Updated certificates, last verified on ${{ steps.get-date.outputs.DATE }}.\n\n Source: https://curl.se/docs/caextract.html\n labels: |\n dependencies\n\n - name: Approve a PR\n run: gh pr review --approve "$PR_URL"\n env:\n PR_URL: ${{ steps.pull-request.outputs.pull-request-url }}\n GITHUB_TOKEN: ${{ github.token }}\n\n - name: Enable Pull Request Automerge\n run: gh pr merge --auto --rebase "$PR_URL"\n env:\n PR_URL: ${{ steps.pull-request.outputs.pull-request-url }}\n GITHUB_TOKEN: ${{ github.token }}\n
dataset_sample\yaml\YOURLS_YOURLS\.github\workflows\update-certificates.yml
update-certificates.yml
YAML
3,015
0.8
0.033708
0.067568
python-kit
978
2024-06-23T16:25:47.422533
GPL-3.0
false
fa3f426969ee937011d51f24d30e9b0e
name: Update GeoIP DB\n\non:\n # Run every Monday at 13:37\n schedule:\n - cron: '37 13 * * 1'\n # Run manually\n workflow_dispatch:\n\n# Cancels all previous workflow runs for the same branch that have not yet completed.\nconcurrency:\n # The concurrency group contains the workflow name and the branch name.\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\npermissions:\n contents: write\n pull-requests: write\n\njobs:\n update-geoip:\n name: "Check for updated GeoIP DB"\n\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Generate token\n uses: actions/create-github-app-token@v2\n id: app-token\n with:\n app-id: ${{ vars.BOT_APP_ID }}\n private-key: ${{ secrets.BOT_PRIVATE_KEY }}\n\n - name: Get GitHub App User ID\n id: get-user-id\n run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"\n env:\n GH_TOKEN: ${{ steps.app-token.outputs.token }}\n\n - name: Check if newer GeoIP DB\n env:\n MAXMIND_API_KEY: ${{ secrets.MAXMIND_API_KEY }}\n run: |\n URL="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=${MAXMIND_API_KEY}&suffix=tar.gz"\n REMOTE_MODIFIED=$(curl --silent --head "$URL" | grep "last-modified" | sed 's/last-modified: //')\n REMOTE_CTIME=$(date -d "$REMOTE_MODIFIED" +%s)\n LOCAL_MODIFIED=$(curl -fsSL https://api.github.com/repos/YOURLS/YOURLS/commits?path=includes/geo/GeoLite2-Country.mmdb | \\n jq -r '.[0]["commit"]["author"]["date"]')\n LOCAL_CTIME=$(date -d "$LOCAL_MODIFIED" +%s)\n echo "Remote: $REMOTE_CTIME ($(date -d @$REMOTE_CTIME))"\n echo "Local: $LOCAL_CTIME ($(date -d @$LOCAL_CTIME))"\n if [ $LOCAL_CTIME -lt $REMOTE_CTIME ] ; then curl -fsSL "$URL" | tar -zvx -C includes/geo/ --strip-components 1 -- ; fi\n\n - name: "Debug info: Show git status"\n run: git status -vv --untracked=all\n\n - name: "Get date"\n id: get-date\n run: echo "DATE=$(/bin/date -u "+%F")" >> $GITHUB_OUTPUT\n\n - name: Create pull request\n uses: peter-evans/create-pull-request@v7\n id: pull-request\n with:\n token: ${{ steps.app-token.outputs.token }}\n author: "${{ steps.app-token.outputs.app-slug }}[bot] <${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>"\n base: master\n branch: auto-update-geoip\n commit-message: "Update GeoIP DB"\n title: "Update GeoIP DB"\n body: |\n Updated GeoIP database, last verified on ${{ steps.get-date.outputs.DATE }}.\n\n Source: https://www.maxmind.com/en/account/login\n labels: |\n dependencies\n\n - name: Approve a PR\n run: gh pr review --approve "$PR_URL"\n env:\n PR_URL: ${{ steps.pull-request.outputs.pull-request-url }}\n GITHUB_TOKEN: ${{ github.token }}\n\n - name: Enable Pull Request Automerge\n run: gh pr merge --auto --rebase "$PR_URL"\n env:\n PR_URL: ${{ steps.pull-request.outputs.pull-request-url }}\n GITHUB_TOKEN: ${{ github.token }}\n
dataset_sample\yaml\YOURLS_YOURLS\.github\workflows\update-geoip.yml
update-geoip.yml
YAML
3,325
0.8
0.044444
0.052632
python-kit
404
2024-10-01T04:44:26.197242
GPL-3.0
false
2ac1216324d2e481a6841d7d02ebdd7a
name: Update translations\n\non:\n push:\n tags:\n - '*'\n workflow_dispatch:\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n translations-check:\n name: Check for updated translations\n if: ${{ github.event_name != 'schedule' || github.repository == 'YOURLS/YOURLS' }}\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Install GNU gettext\n run: sudo apt-get install gettext\n\n - name: Get version\n id: get-version\n run: echo "yourls-version=$(php -r 'require "includes/version.php"; echo YOURLS_VERSION;')" >> $GITHUB_OUTPUT\n\n - name: Extract translations\n env:\n YOURLS_VERSION: ${{ steps.get-version.outputs.yourls-version }}\n run: |\n find . -name "*.php" ! -path "./user/*" ! -path "./tests/*" ! -path "./includes/vendor/*" \\n | xargs xgettext \\n --output=YOURLS.pot --package-name=YOURLS --package-version=$YOURLS_VERSION --foreign-user \\n --add-location --language=PHP --from-code=UTF-8 --sort-by-file \\n --keyword=yourls__ \\n --keyword=yourls_e \\n --keyword=yourls_s \\n --keyword=yourls_se \\n --keyword=yourls_esc_attr__ \\n --keyword=yourls_esc_html__ \\n --keyword=yourls_x \\n --keyword=yourls_ex \\n --keyword=yourls_esc_attr_x \\n --keyword=yourls_esc_html_x \\n --keyword=yourls_n:1,2 \\n --keyword=yourls_nx:1,2 \\n --keyword=yourls_n_noop:1,2 \\n --keyword=yourls_nx_noop:1,2\n\n - uses: actions/upload-artifact@v4\n with:\n name: YOURLS-pot\n path: YOURLS.pot\n\n translations-submit:\n name: Submit updated translations\n if: ${{ github.event_name == 'workflow_dispatch' && github.repository == 'YOURLS/YOURLS' }}\n runs-on: ubuntu-latest\n needs:\n - translations-check\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n with:\n repository: YOURLS/YOURLS.pot\n\n - uses: actions/download-artifact@v4\n with:\n name: YOURLS-pot\n\n - name: Generate token\n uses: actions/create-github-app-token@v2\n id: app-token\n with:\n app-id: ${{ vars.BOT_APP_ID }}\n private-key: ${{ secrets.BOT_PRIVATE_KEY }}\n\n - name: Get GitHub App User ID\n id: get-user-id\n run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"\n env:\n GH_TOKEN: ${{ steps.app-token.outputs.token }}\n\n - name: Show git status\n run: git status -vv --untracked=all\n\n - name: Get date\n id: get-date\n run: echo "DATE=$(/bin/date -u "+%F")" >> $GITHUB_OUTPUT\n\n - name: Create pull request\n uses: peter-evans/create-pull-request@v7\n id: pull-request\n with:\n token: ${{ steps.app-token.outputs.token }}\n author: "${{ steps.app-token.outputs.app-slug }}[bot] <${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>"\n base: main\n branch: auto-update-translations\n delete-branch: true\n commit-message: "Update translations"\n title: "Update translations"\n body: |\n Updated translations, last verified on ${{ steps.get-date.outputs.DATE }}.\n labels: |\n dependencies\n\n # - name: Approve a PR\n # run: gh pr review --approve "$PR_URL"\n # env:\n # PR_URL: ${{ steps.pull-request.outputs.pull-request-url }}\n # GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n\n # - name: Enable Pull Request Automerge\n # run: gh pr merge --auto --rebase "$PR_URL"\n # env:\n # PR_URL: ${{ steps.pull-request.outputs.pull-request-url }}\n # GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n
dataset_sample\yaml\YOURLS_YOURLS\.github\workflows\update-translations.yml
update-translations.yml
YAML
4,008
0.95
0.02521
0.097087
awesome-app
90
2024-09-30T07:21:13.073348
GPL-3.0
false
c2f7f2bea3c0fe9522dbdfe1cc73e45b
name: SonarCloud Build\n\non:\n push:\n branches:\n - "master"\n - "release/*"\n schedule:\n - cron: "0 0 * * *"\n\njobs:\n\n SonarCloud:\n name: SonarCloud\n runs-on: ubuntu-latest\n env:\n SONAR_SCANNER_VERSION: 4.7.0.2747\n SONAR_SERVER_URL: "https://sonarcloud.io"\n BUILD_WRAPPER_OUT_DIR: $GITHUB_WORKSPACE/build_wrapper_output_directory # Directory where build-wrapper output will be placed\n steps:\n\n - uses: actions/checkout@v2\n with:\n fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis\n\n - name: Set up JDK 11\n uses: actions/setup-java@v1\n with:\n java-version: 11\n\n - name: Download and set up sonar-scanner\n env:\n SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip\n run: |\n mkdir -p $HOME/.sonar\n curl -sSLo $HOME/.sonar/sonar-scanner.zip ${{ env.SONAR_SCANNER_DOWNLOAD_URL }}\n unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/\n echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> $GITHUB_PATH\n\n\n - name: Download and compile Zabbix\n run: |\n sudo apt-get update\n sudo apt-get install libsnmp-dev snmp libopenipmi-dev libevent-dev libcurl4-openssl-dev\n cd $GITHUB_WORKSPACE\n sh bootstrap.sh\n ./configure --enable-server --enable-agent --with-postgresql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 --with-openipmi --enable-proxy --enable-agent2 --enable-java --prefix=$(pwd) --with-openssl\n make\n make clean\n\n - name: Download and set up build-wrapper\n env:\n BUILD_WRAPPER_DOWNLOAD_URL: ${{ env.SONAR_SERVER_URL }}/static/cpp/build-wrapper-linux-x86.zip\n run: |\n curl -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip ${{ env.BUILD_WRAPPER_DOWNLOAD_URL }}\n unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/\n echo "$HOME/.sonar/build-wrapper-linux-x86" >> $GITHUB_PATH\n\n - name: Run build-wrapper\n run: |\n build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make clean all\n\n - name: Run sonar-scanner\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n run: |\n sonar-scanner --define sonar.host.url="${{ env.SONAR_SERVER_URL }}" --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"\n
dataset_sample\yaml\zabbix_zabbix\.github\workflows\sonarcloud.yml
sonarcloud.yml
YAML
2,612
0.8
0.014706
0
node-utils
541
2023-07-13T14:26:52.675395
BSD-3-Clause
false
51c682f179c2a6240c652ea518abadb5