diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 2442627..b4b9f00 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -19,7 +19,7 @@ jobs: container: greenbone/doxygen steps: - name: Check out gvmd - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate documentation (XML) run: | mkdir build diff --git a/.github/workflows/ci-c.yml b/.github/workflows/ci-c.yml index cf378bd..e5662d9 100644 --- a/.github/workflows/ci-c.yml +++ b/.github/workflows/ci-c.yml @@ -12,7 +12,7 @@ jobs: name: Check C Source Code Formatting runs-on: 'ubuntu-latest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check Source Format run: | clang-format -i -style=file src/*.c @@ -23,7 +23,7 @@ jobs: runs-on: 'ubuntu-latest' container: greenbone/boreas-build:unstable steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure and Compile boreas run: | mkdir build @@ -36,7 +36,7 @@ jobs: runs-on: 'ubuntu-latest' container: greenbone/boreas-build:unstable steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install clang tools run: | apt update diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5f8e997..31640ef 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index f61d398..4570bac 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'set IS_VERSION_TAG' run: | echo "IS_VERSION_TAG=${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}" >> $GITHUB_ENV @@ -42,7 +42,7 @@ jobs: fi - name: 'Setup meta information (IS_VERSION_TAG: ${{ env.IS_VERSION_TAG }}, IS_LATEST_TAG: ${{ env.IS_LATEST_TAG }} )' id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ github.repository }} labels: | @@ -64,17 +64,17 @@ jobs: # use pr-$PR_ID for pull requests (will not be uploaded) type=ref,event=pr - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Registry if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push Container image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'main') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c28124c..b5d92ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,7 @@ jobs: else echo "RELEASE_REF=${{ github.base_ref }}" >> $GITHUB_ENV fi - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.GREENBONE_BOT_TOKEN }} fetch-depth: '0'