diff --git a/.github/workflows/codescene.yml b/.github/workflows/codescene.yml index c02d0e0e..76a0420d 100644 --- a/.github/workflows/codescene.yml +++ b/.github/workflows/codescene.yml @@ -10,7 +10,7 @@ jobs: container: image: empear/codescene-ci-cd:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Run delta analysis diff --git a/.github/workflows/debricked.yml b/.github/workflows/debricked.yml index c18e75eb..7b870357 100644 --- a/.github/workflows/debricked.yml +++ b/.github/workflows/debricked.yml @@ -11,18 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '1.20' - - uses: actions/cache@v3 - with: - path: | - ~/Library/Caches/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Pull Supported Formats run: | cd cmd/debricked diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5ed395d9..4e11ef44 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59810e22..832fde5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,11 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - run: git fetch --force --tags - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: '>=1.20' cache: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c7ef9796..8f2e0a4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,10 +19,10 @@ jobs: git config --global core.autocrlf input git config --global core.eol lf - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: '1.20' @@ -31,15 +31,6 @@ jobs: npm install --global bower bower -v - - uses: actions/cache@v3 - with: - path: | - ~/Library/Caches/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ matrix.os }}-go - - name: Pull Supported Formats run: | cd cmd/debricked @@ -79,22 +70,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: '1.20' - - uses: actions/cache@v3 - with: - path: | - ~/Library/Caches/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ matrix.os }}-go - - name: Pull Supported Formats run: | cd cmd/debricked @@ -122,7 +104,7 @@ jobs: matrix: docker-os: ['alpine', 'debian'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Pull from debian and re-tag to match cache - name: Pull Image; Debian @@ -151,8 +133,8 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '1.20' - name: Pull Supported Formats diff --git a/examples/templates/GitHub/debricked-non-docker.yml b/examples/templates/GitHub/debricked-non-docker.yml index cffb8797..d24dc66b 100644 --- a/examples/templates/GitHub/debricked-non-docker.yml +++ b/examples/templates/GitHub/debricked-non-docker.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: debricked/actions/cache@v3 + - uses: actions/checkout@v4 + - uses: debricked/actions/cache@v4 - uses: debricked/actions/scan-non-docker@v3 env: DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }} diff --git a/examples/templates/GitHub/debricked.yml b/examples/templates/GitHub/debricked.yml index 02654f34..8018623a 100644 --- a/examples/templates/GitHub/debricked.yml +++ b/examples/templates/GitHub/debricked.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: debricked/actions@v3 env: DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}