Upgrade golang-jwt to fix security issue (#235) #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration | |
on: | |
push: | |
branches: | |
- "main" | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
ias-integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" # This uses the Go version defined in the mod file, in contrast to setting a defined version. | |
cache: true | |
- name: Install Kyma CLI & setup k3d cluster using Kyma CLI | |
run: | | |
make provision-k3d | |
- name: Test | |
run: | | |
bin/k3d kubeconfig get kyma > $PWD/k3d_kubeconfig | |
KUBECONFIG=$PWD/k3d_kubeconfig TEST_EVENTING_AUTH_TARGET_KUBECONFIG_PATH=$PWD/k3d_kubeconfig make test-ci | |
env: | |
USE_EXISTING_CLUSTER: "true" | |
TEST_EVENTING_AUTH_TARGET_KUBECONFIG_PATH: k3d_kubeconfig | |
TEST_EVENTING_AUTH_IAS_URL: ${{ secrets.TEST_EVENTING_AUTH_IAS_URL }} | |
TEST_EVENTING_AUTH_IAS_USER: ${{ secrets.TEST_EVENTING_AUTH_IAS_USER }} | |
TEST_EVENTING_AUTH_IAS_PASSWORD: ${{ secrets.TEST_EVENTING_AUTH_IAS_PASSWORD }} | |
- name: Send slack message on failure | |
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d | |
if: failure() | |
with: | |
payload-file-path: ".github/workflows/slack-failure-message.json" | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |