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

Does not run on macos-14 #744

Open
isaachinman opened this issue Apr 17, 2024 · 3 comments
Open

Does not run on macos-14 #744

isaachinman opened this issue Apr 17, 2024 · 3 comments
Assignees
Labels
external Depends on an external resource/project

Comments

@isaachinman
Copy link

This action does not successfully run on the hosted macos-14 runners.

I get the following error:

/Users/runner/work/_actions/paambaati/codeclimate-action/v5.0.0/lib/utils.js:58
                throw new Error(`Download of '${url}' failed with response status code ${response.status}`);
Error: 🚨 CC Reporter download failed!
                      ^
Error: Download of 'https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-arm64' failed with response status code 403
    at /Users/runner/work/_actions/paambaati/codeclimate-action/v5.0.0/lib/utils.js:58:23
@isaachinman isaachinman added the bug Something isn't working label Apr 17, 2024
@isaachinman
Copy link
Author

@paambaati Would love to see this fixed ASAP and am happy to help. Otherwise we will need to switch away to another CodeClimate action, or write our own. There are hosted darwin builds for OSX.

@isaachinman
Copy link
Author

The key problem here is arm64 vs amd64. Actually, I wonder if this is a CodeClimate limitation?

@paambaati
Copy link
Owner

paambaati commented Apr 18, 2024

It is indeed a CC limitation; see

'🧪 verifyChecksumAndSignature() should download the CC reporter and pass all validations (happy path).',
{
skip:
platform() === 'darwin' && arch() === 'arm64'
? 'Skipping because the CC reporter is not available on macOS Apple Silicon!'
: undefined,
},

@paambaati paambaati added external Depends on an external resource/project and removed bug Something isn't working labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Depends on an external resource/project
Projects
None yet
Development

No branches or pull requests

2 participants