Skip to content

Commit bd7227f

Browse files
authored
Merge pull request #33 from BoRuDar/update-codeql
Update CodeQL version
2 parents 68b0df8 + d1b7560 commit bd7227f

File tree

3 files changed

+8
-23
lines changed

3 files changed

+8
-23
lines changed

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828

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

4747
# ℹ️ Command-line programs to run using the OS shell.
4848
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -55,4 +55,4 @@ jobs:
5555
# ./location_of_script_within_repo/buildscript.sh
5656

5757
- name: Perform CodeQL Analysis
58-
uses: github/codeql-action/analyze@v2
58+
uses: github/codeql-action/analyze@v3

.github/workflows/review.yml

-15
This file was deleted.

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: Test
2-
on: [push]
2+
on: [push,pull_request]
33
jobs:
44
test:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Set up Go 1.18
8-
uses: actions/setup-go@v3
8+
uses: actions/setup-go@v4
99
with:
1010
go-version: 1.18
1111
id: go
1212

1313
- name: Check out code into the Go module directory
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Get dependencies
1717
run: |
@@ -22,7 +22,7 @@ jobs:
2222
go test -v -cover -count 1 -coverprofile="./coverage.out" -covermode=atomic
2323
ls
2424
25-
- uses: codecov/codecov-action@v1
25+
- uses: codecov/codecov-action@v4
2626
with:
2727
token: ${{ secrets.CODECOV_TOKEN }}
2828
file: ./coverage.out

0 commit comments

Comments
 (0)