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

Bump pipeline from 1.40.0 to 1.41.0 #1531

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Bump pipeline from 1.40.0 to 1.41.0 #1531

merged 1 commit into from
Sep 20, 2024

Conversation

paketo-bot
Copy link
Member

Bumps pipeline from 1.40.0 to 1.41.0.

Release Notes

🐞 Bug Fixes

⛏ Dependency Upgrades

🚧 Tasks

Bumps pipeline from 1.40.0 to 1.41.0.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@paketo-bot paketo-bot requested a review from a team as a code owner September 20, 2024 15:46
@paketo-bot paketo-bot added semver:patch A change requiring a patch version bump type:task A general task labels Sep 20, 2024
@anthonydahanne anthonydahanne merged commit 50f2326 into main Sep 20, 2024
6 of 7 checks passed
@anthonydahanne anthonydahanne deleted the update/pipeline branch September 20, 2024 16:30
Comment on lines +182 to +223
unit:
name: Unit Test
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
path: ${{ env.HOME }}/go/pkg/mod
restore-keys: ${{ runner.os }}-go-
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Install richgo
run: |
#!/usr/bin/env bash

set -euo pipefail

echo "Installing richgo ${RICHGO_VERSION}"

mkdir -p "${HOME}"/bin
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
"https://github.com/kyoh86/richgo/releases/download/v${RICHGO_VERSION}/richgo_${RICHGO_VERSION}_linux_amd64.tar.gz" \
| tar -C "${HOME}"/bin -xz richgo
env:
RICHGO_VERSION: 0.3.10
- name: Run Tests
run: |
#!/usr/bin/env bash

set -euo pipefail

richgo test ./... -run Unit
env:
RICHGO_FORCE_COLOR: "1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
unit:
name: Unit Test
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
path: ${{ env.HOME }}/go/pkg/mod
restore-keys: ${{ runner.os }}-go-
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Install richgo
run: |
#!/usr/bin/env bash
set -euo pipefail
echo "Installing richgo ${RICHGO_VERSION}"
mkdir -p "${HOME}"/bin
echo "${HOME}/bin" >> "${GITHUB_PATH}"
curl \
--location \
--show-error \
--silent \
"https://github.com/kyoh86/richgo/releases/download/v${RICHGO_VERSION}/richgo_${RICHGO_VERSION}_linux_amd64.tar.gz" \
| tar -C "${HOME}"/bin -xz richgo
env:
RICHGO_VERSION: 0.3.10
- name: Run Tests
run: |
#!/usr/bin/env bash
set -euo pipefail
richgo test ./... -run Unit
env:
RICHGO_FORCE_COLOR: "1"

Not needed, not unit tests

Comment on lines +173 to +178
run: |
#!/usr/bin/env bash

set -euo pipefail

go test ./integration/... -run Integration
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
run: |
#!/usr/bin/env bash
set -euo pipefail
go test ./integration/... -run Integration

Comment on lines -169 to +171
PACKAGES: test
TTL_SH_PUBLISH: "false"
VERSION: ${{ steps.version.outputs.version }}
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
PACKAGES: ttl.sh/test-${{ steps.version.outputs.version }}
TTL_SH_PUBLISH: "true"
VERSION: 1h
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this also needs changed back for integration tests to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants