Skip to content

Commit

Permalink
ci bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cageyv committed Sep 20, 2024
1 parent b8ebf62 commit 0bbfe05
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@ jobs:
name: tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run test.sh
run: |
Expand All @@ -37,32 +33,26 @@ jobs:
contents: write
needs: [ tests ]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Docker Login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.54
uses: golangci/golangci-lint-action@v6

- name: Prepare a snapshot release
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
Expand Down

0 comments on commit 0bbfe05

Please sign in to comment.