Skip to content

Commit

Permalink
Merge pull request #73 from leancodepl/ci/update_actions
Browse files Browse the repository at this point in the history
Update Go version and Actions steps
  • Loading branch information
bartekpacia authored Aug 15, 2023
2 parents f6b2c06 + ccad8ee commit a333662
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/go-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true

- name: Verify code formatting
run: |
go install mvdan.cc/gofumpt@v0.4
go install mvdan.cc/gofumpt@v0.5
test -z $(gofumpt -l .)
- name: Run linter
Expand All @@ -44,17 +43,16 @@ jobs:

strategy:
matrix:
flutter_version: ['3.3', '3.7']
flutter_version: ['3.3', '3.7', '3.10']

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true

- name: Build binary
run: |
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/leancodepl/poe2arb

go 1.20
go 1.21

require (
github.com/TwiN/go-color v1.4.0
Expand Down

0 comments on commit a333662

Please sign in to comment.