Skip to content

Commit

Permalink
chore: Bump go version to 1.21 (#74)
Browse files Browse the repository at this point in the history
* chore: Bump go version to 1.21

* chore: Omit patch in go version

* ci: Fix codeql pipeline
  • Loading branch information
obalunenko authored Aug 9, 2023
1 parent 130a026 commit e68aa4a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,33 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: true
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

language: [ 'go' ]
os: [ 'ubuntu-22.04' ]
go: [ '1.21' ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up go
uses: actions/[email protected]
with:
go-version: ${{ matrix.go }}
- run: |
go version
shell: bash
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
max-parallel: 3
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Run Tests
steps:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Run linters
steps:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Quality reports
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Regression tests
steps:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Lint
steps:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.20' ]
go: [ '1.21' ]
runs-on: ${{ matrix.os }}
name: Release
steps:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/obalunenko/georgia-tax-calculator

go 1.20
go 1.21

require (
github.com/AlecAivazis/survey/v2 v2.3.7
Expand Down

0 comments on commit e68aa4a

Please sign in to comment.