diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0f89029..21959c50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,9 +11,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-14] + os: [ubuntu-latest, ubuntu-24.04-arm, macos-14] steps: - uses: actions/checkout@v4 + - name: Workaround to fix environment variables in aarch64-linux + # https://github.com/orgs/community/discussions/148648#discussioncomment-11867019 + if: matrix.os == 'ubuntu-24.04-arm' + run: for var in PATH XDG_CONFIG_HOME; do sed -Ee "s/^/${var}=/" -e 's/(runner)admin/\1/g' <<< "${!var}"; done | tee -a "$GITHUB_ENV" - uses: cachix/install-nix-action@v30 - name: Setup cachix uses: cachix/cachix-action@v15