diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d471d6f..f157646a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set Git config run: | git config --local user.email "actions@github.com" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 07e14207..48e0233e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,12 +20,12 @@ jobs: steps: - name: Checkout triggering commit if: ${{ github.event_name == 'workflow_run' }} - uses: actions/checkout@master + uses: actions/checkout@v4 with: ref: ${{ github.event.workflow_run.head_sha }} - name: Checkout main commit if: ${{ github.event_name != 'workflow_run' }} - uses: actions/checkout@master + uses: actions/checkout@v4 - name: Set build vars run: | echo "BUILD_TIME=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 433352f9..db415684 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@master + uses: actions/checkout@v4 - name: Get version from tag id: get_version diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df148138..276769f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set Up Cache uses: actions/cache@v3 with: @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: Set Up Cache @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout current - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Travel to past @@ -115,7 +115,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: Set Up Cache