Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while setting up Go #125

Closed
sunilkumardash9 opened this issue May 14, 2023 · 0 comments
Closed

Error while setting up Go #125

sunilkumardash9 opened this issue May 14, 2023 · 0 comments

Comments

@sunilkumardash9
Copy link

while installing Go from ppa:longsleep/golang-backports I get this error: /root/run-on-arch-install.sh: line 6: : command not found

But I don't get this error while installing from ubuntu's repo it works fine.

run_on_arm64:
      runs-on: ubuntu-latest
      steps:
       - uses: actions/checkout@v3

       - name: Set up Go
         uses: actions/setup-go@v3
         with:
           go-version: 1.19
         
       - name: Run on aarch64
         uses: uraimo/run-on-arch-action@v2
         with:
          arch: aarch64
          distro: ubuntu_latest
          githubToken: ${{ github.token }}
          install: |
            apt-get update && \
            apt-get install -y software-properties-common && \
            add-apt-repository ppa:longsleep/golang-backports -y && \    
            apt-get install golang-1.19
            
          run: |
            go build -buildvcs=false ./...
            go test -v ./... 

Is there something I am missing?

@sunilkumardash9 sunilkumardash9 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant