Skip to content

Commit

Permalink
github actions のイメージと staticchck のバージョンを更新する
Browse files Browse the repository at this point in the history
  • Loading branch information
tnamao committed Sep 25, 2024
1 parent 5fd8ba7 commit 953f5d3
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,29 @@ name: Go Static Check
on:
push:
branches-ignore:
- 'main'
- "main"
tags-ignore:
- '*'
- "*"
paths:
- "**.go"

jobs:

build:
name: static-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "./go.mod"
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "./go.mod"

- run: go version
- run: go version

- run: go fmt .
- run: go fmt .

- uses: dominikh/[email protected].0
with:
version: "2023.1.6"
install-go: false
- uses: dominikh/[email protected].1
with:
version: "2024.1.1"
install-go: false

0 comments on commit 953f5d3

Please sign in to comment.