golang: bump k8s.io/apimachinery from 0.31.4 to 0.32.3 #211
This file contains hidden or 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
| # This is a basic workflow to help you get started with Actions | |
| name: Golang | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - master | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| # The "build" workflow | |
| build_and_test: | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
| - uses: actions/checkout@v3 | |
| # Setup Go | |
| - name: Setup Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.22.0' # The Go version to download (if necessary) and use. | |
| # Install all the dependencies | |
| - name: Install dependencies | |
| run: | | |
| go version | |
| go get -u golang.org/x/lint/golint | |
| # Run build of the application | |
| - name: Run build | |
| run: make go-mod bin/bugsim | |
| # Run vet & lint on the code | |
| - name: Run vet & lint | |
| run: | | |
| make go-vet | |
| #make go-lint | |
| # Run testing on the code | |
| - name: Run testing | |
| run: echo "foo" # cd test && go test -v | |
| # upload the resulting artifact | |
| - name: Retain build artifact | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: bugsim-binary | |
| path: bin/bugsim | |
| retention-days: 2 |