From 5fb44a383c4cf2ece311eb8c1c1303d3a8f20d1c Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 6 May 2020 21:14:42 +0200 Subject: [PATCH] Update workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/labels.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/master.yml | 6 +----- .github/workflows/test.yml | 2 +- README.md | 2 +- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5df88a5..36b8e0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Download file id: download diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index dd984b6..9aa092e 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -15,11 +15,11 @@ jobs: - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - # https://github.com/crazy-max/ghaction-github-labeler name: Run Labeler if: success() - uses: crazy-max/ghaction-github-labeler@v1 + uses: crazy-max/ghaction-github-labeler@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 72da253..14e11fc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - # https://github.com/actions/setup-node name: Set up Node diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index b93b14d..4f782cf 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -12,11 +12,7 @@ jobs: - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 - - - # https://github.com/actions/checkout/issues/6 - name: Fix detached HEAD - run: git checkout ${GITHUB_REF#refs/heads/} + uses: actions/checkout@v2 - name: Build run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4e0383..7cecb5d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Build run: | diff --git a/README.md b/README.md index 0a6a3f9..a8042bd 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Run UPX uses: crazy-max/ghaction-upx@v1