mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2026-08-24 10:14:12 -05:00
Bumps the all group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
on:
|
|
pull_request:
|
|
paths:
|
|
- 'src/**'
|
|
- 'e2e/**'
|
|
- '.github/workflows/e2e.yml'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
name: E2E Tests
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
NU_VERSION: "0.113.1"
|
|
OMP_E2E_REQUIRE: bash,zsh,fish,pwsh,nu
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
- name: Install Go 🗳
|
|
uses: ./.github/workflows/composite/bootstrap-go
|
|
- name: Install zsh and fish
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y zsh fish
|
|
- name: Install nushell
|
|
run: |
|
|
curl -sSL -o nu.tar.gz "https://github.com/nushell/nushell/releases/download/${NU_VERSION}/nu-${NU_VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
|
tar xzf nu.tar.gz
|
|
echo "$PWD/nu-${NU_VERSION}-x86_64-unknown-linux-musl" >> "$GITHUB_PATH"
|
|
- name: E2E tests
|
|
working-directory: e2e
|
|
run: go test -count=1 -v ./...
|
|
|
|
windows:
|
|
runs-on: windows-latest
|
|
env:
|
|
NU_VERSION: "0.113.1"
|
|
OMP_E2E_REQUIRE: pwsh,nu
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
- name: Install Go 🗳
|
|
uses: ./.github/workflows/composite/bootstrap-go
|
|
- name: Install nushell
|
|
shell: pwsh
|
|
run: |
|
|
Invoke-WebRequest -Uri "https://github.com/nushell/nushell/releases/download/$env:NU_VERSION/nu-$env:NU_VERSION-x86_64-pc-windows-msvc.zip" -OutFile nu.zip
|
|
Expand-Archive -Path nu.zip -DestinationPath nu
|
|
Add-Content -Path $env:GITHUB_PATH -Value "$PWD\nu"
|
|
- name: E2E tests
|
|
working-directory: e2e
|
|
run: go test -count=1 -v ./...
|