Skip to content

Commit

Permalink
Update GH actions, terraform version, fix Go version (#1022)
Browse files Browse the repository at this point in the history
* Updated go version to go toolchain version

Signed-off-by: Sebastian Schuster <[email protected]>

* Updated most Github Action versions

Signed-off-by: Sebastian Schuster <[email protected]>

* Updated terraform action version and terraform version

Signed-off-by: Sebastian Schuster <[email protected]>

---------

Signed-off-by: Sebastian Schuster <[email protected]>
  • Loading branch information
sschu authored Nov 22, 2024
1 parent 1f1a588 commit 9f4155a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -59,7 +59,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -73,4 +73,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
6 changes: 3 additions & 3 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

- name: Run snapshot action
uses: actions/go-dependency-submission@v1
uses: actions/go-dependency-submission@v2
with:
go-mod-path: go.mod
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Wait for acceptance tests
id: wait
uses: "WyriHaximus/github-action-wait-for-status@v1.4.0"
uses: "WyriHaximus/github-action-wait-for-status@v1.8.0"
with:
ignoreActions: Wait for acceptance tests
checkInterval: 30
Expand All @@ -28,17 +28,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v2
uses: crazy-max/ghaction-import-gpg@v6
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2 # we want the HEAD commit and the previous commit to compare changed files

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -31,7 +31,7 @@ jobs:
# we only want to run tests if any code changes (not for README or docs changes)
- name: Check Changed Files
id: files
uses: tj-actions/changed-files@v41.0.0
uses: tj-actions/changed-files@v45
with:
files: |
.github
Expand Down Expand Up @@ -69,19 +69,19 @@ jobs:
cancel-in-progress: true
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: 1.9.5
terraform_version: 1.9.8

- name: Start Keycloak Container
run: |
Expand All @@ -99,7 +99,7 @@ jobs:
run: ./scripts/wait-for-local-keycloak.sh && ./scripts/create-terraform-client.sh

- name: Get Keycloak Version
uses: actions/github-script@v6
uses: actions/github-script@v7
id: keycloak-version
env:
KEYCLOAK_VERSION: ${{ matrix.keycloak-version }}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ require (
google.golang.org/protobuf v1.33.0 // indirect
)

go 1.22
go 1.22.0

0 comments on commit 9f4155a

Please sign in to comment.