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

Add Github Action to replace travis #199

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

jewome62
Copy link

@jewome62 jewome62 commented Mar 17, 2024

To validate #198 , i have replace inactive travis test by GHA (GitHub Action)

Need to setup into github action secret :
TOKEN
GUILD_ID
CHANNEL_ID

Here on my fork and my own test discord : jewome62#1

list of action done : https://github.com/jewome62/restcord/actions/runs/8315913821

Include #198 change, so need to be merge after #198

@jewome62 jewome62 changed the title Add Github Action to remplace travis Add Github Action to replace travis Mar 17, 2024

$output->text('-> Fetching User');
$user = $client->user->getUser(['user.id' => (int) $guild->owner_id]);
Assertion::eq(0001, $user->discriminator);
Assertion::eq('0000', $user->discriminator);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discriminator is not used anymore, so default value = 0000

"symfony/options-resolver": "^3.4|^4.4|^5.1|^6.0",
"psr/log": "^2.0|^3.0"
"symfony/options-resolver": "^3.4|^4.4|^5.1|^6.0|^7.0",
"psr/log": "^1.1|^2.0|^3.0"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need 1.X version because 2.0 and more need PHP 8.X
So if we not add 1.X version we can remove version 7.X of PHP support

@jewome62
Copy link
Author

@cryptiklemur I add that for validate my PR and the next PR

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

Successfully merging this pull request may close these issues.

None yet

1 participant