diff --git a/.github/workflows/create-debugging-artifact.yml b/.github/workflows/create-debugging-artifact.yml index 011b7e01..ca3c0c47 100644 --- a/.github/workflows/create-debugging-artifact.yml +++ b/.github/workflows/create-debugging-artifact.yml @@ -19,16 +19,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: 'recursive' token: ${{ secrets.RELEEN_GITHUB_TOKEN }} - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version-file: go.mod check-latest: true - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 386b37e9..434a55b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,17 +15,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - submodules: 'recursive' token: ${{ secrets.RELEEN_GITHUB_TOKEN }} - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: "1.21" - check-latest: true + go-version-file: go.mod - name: Build run: go build ./... diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82b97029..4a99a174 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,7 @@ name: test on: push: - branches: - - main + branches: ["main"] pull_request: jobs: test: @@ -10,17 +9,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - submodules: 'recursive' token: ${{ secrets.RELEEN_GITHUB_TOKEN }} - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: "1.21" - check-latest: true + go-version-file: go.mod - name: golangci-lint uses: golangci/golangci-lint-action@v3