build(deps): bump codecov/codecov-action from 3 to 4 (#3412)

* build(deps): bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: remove temp fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: H01001000 <heiheiho000@gmail.com>
This commit is contained in:
dependabot[bot]
2024-02-02 03:00:26 +00:00
committed by GitHub
co-authored by H01001000
parent e1c8d6434e
commit 1a9dc69492
4 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
PROXY_REST_SECRET: ${{ secrets.PROXY_REST_SECRET }}
PROXY_REST_URL: ${{ secrets.PROXY_REST_URL }}
- name: Collect and upload the coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: ${{ inputs.event_name != 'pull_request' }}
with:
files: ./packages/${{ inputs.package }}/coverage/lcov.info
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
run: yarn test:integration --cache-dir=".turbo" --filter=./packages/${{ inputs.package }}
timeout-minutes: 3
- name: Collect and upload the coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ./packages/${{ inputs.package }}/coverage/lcov.info
flags: ${{ inputs.package }}-integration,${{ inputs.package }}
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
run: yarn test:unit --cache-dir=".turbo" --filter=./packages/${{ inputs.package }}
timeout-minutes: 1
- name: Collect and upload the coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ./packages/${{ inputs.package }}/coverage/lcov.info
flags: ${{ inputs.package }}-unit,${{ inputs.package }}
-6
View File
@@ -1,4 +1,3 @@
import { type DiscordPartialGuild } from '@discordeno/types'
import { createRestManager } from '../../src/manager.js'
import { E2E_TEST_GUILD_ID, token } from './constants.js'
// For debugging purposes
@@ -10,11 +9,6 @@ export const rest = createRestManager({
})
rest.deleteQueueDelay = 10000
const guilds = await rest.get<DiscordPartialGuild[]>(rest.routes.guilds.userGuilds())
guilds.forEach((guild) => {
if (guild.owner) rest.deleteGuild(guild.id)
})
const guild = await rest.createGuild({ name: 'ddenotester' })
const channel = await rest.createChannel(guild.id, { name: 'ddenotestchannel' })