Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
szktkfm committed Dec 27, 2024
1 parent a08ae3c commit de774a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: '1.23'
cache: false

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libx11-dev xclip xsel
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
24 changes: 6 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.23'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libx11-dev xclip xsel
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

test_on_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit de774a4

Please sign in to comment.