diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..79e177b --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,12 @@ +--- +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 20 + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: weekly \ No newline at end of file diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 84314bd..97e5f13 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -13,10 +13,10 @@ jobs: name: Linters (Static Analysis) for Go steps: - name: Checkout code into the Go module directory. - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v6 with: go-version: 1.18.x @@ -35,15 +35,16 @@ jobs: fail-fast: false matrix: go: ["1.18.x", "1.19.x"] - platform: [ubuntu-latest, macos-latest] + # pinning to macos-13 to avoid issues with the default macos-latest runner. + platform: [ubuntu-latest, macos-13] name: Unit tests on Go ${{ matrix.go }} ${{ matrix.platform }} steps: - name: Checkout code into the Go module directory. - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }}