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

update action versions #18

Merged
merged 1 commit into from
Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
steps:

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
id: go

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- id: go_mod
uses: andstor/file-existence-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
steps:

- name: Set up Go 1.17
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x
id: go

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -67,4 +67,4 @@ jobs:

- if: steps.codecov-enabled.outputs.files_exists == 'true'
name: Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: get_yamls
run: |
yamls=$(find . -name "*.yaml")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releasability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
fi

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x

- name: Install Dependencies
run: go install knative.dev/test-infra/buoy@main

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Exists
id: exists
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-notes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x

Expand All @@ -46,7 +46,7 @@ jobs:
run: go install k8s.io/release/cmd/release-notes@latest

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# fetch-depth of 0 indicates all history for all branches and tags.
fetch-depth: 0
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
cat release-notes.md

- name: Archive Release Notes
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: release-notes.md
path: release-notes.md
8 changes: 4 additions & 4 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: go

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2

- name: Find Unicode Control Characters
uses: pierdipi/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
stale:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/stale@v3'
- uses: 'actions/stale@v5'
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}' # No need to setup

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x
id: go

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Dependencies
if: ${{ matrix.package != '' }}
Expand Down Expand Up @@ -86,21 +86,21 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x
id: go

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- id: golangci_configuration
uses: andstor/file-existence-action@v1
with:
files: .golangci.yaml
- name: Go Lint
if: steps.golangci_configuration.outputs.files_exists == 'true'
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.43

Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Do Not Submit
shell: bash
Expand Down Expand Up @@ -316,13 +316,13 @@ jobs:
steps:

- name: Set up Go 1.17.x
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.x
id: go

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Tools
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify-codegen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
id: go
Expand All @@ -41,7 +41,7 @@ jobs:
go install github.com/google/go-licenses@latest

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Update Codegen
shell: bash
Expand Down