Use Go 1.22
in GitHub Actions
#30
Workflow file for this run
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: use-action | |
on: | |
push: | |
tags-ignore: | |
- '**' | |
branches: | |
- '**' | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- '**' | |
paths-ignore: | |
- '**.md' | |
jobs: | |
use-action: | |
name: use-action | |
runs-on: ubuntu-latest | |
steps: | |
# preparing the Kubernetes cluster# (KinD) and installing kubectl | |
- uses: helm/[email protected] | |
with: | |
version: v0.14.0 | |
cluster_name: kind | |
wait: 120s | |
# installing go and ko, both action dependencies | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22.x | |
- uses: imjasonh/[email protected] | |
# checking out the project code on the current workspace | |
- uses: actions/checkout@v3 | |
# self loading the action.yaml definitions, making possible to run the action defined on this | |
# project directly | |
- uses: ./ | |
# assert the changes performed by this action | |
- shell: bash | |
run: | | |
./assert.sh |