diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ed7979b..c90fbe7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index a62f51d..11f33c0 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -17,7 +17,7 @@ jobs: - centos steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: ${{ matrix.runtime }} shell: 'script -q -e -c "bash {0}"' run: bash ./test/run --build --run ${{ matrix.runtime }} diff --git a/.github/workflows/go-coverage.yml b/.github/workflows/go-coverage.yml index 90f7577..ff97d1e 100644 --- a/.github/workflows/go-coverage.yml +++ b/.github/workflows/go-coverage.yml @@ -14,13 +14,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: '1.18' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get dependencies run: go get -v -t -d ./... @@ -29,7 +29,8 @@ jobs: run: go test -v -cover -race -coverprofile=coverage -covermode=atomic - name: Upload coverage - uses: codecov/codecov-action@v1 + if: github.event_name == 'push' + uses: codecov/codecov-action@v3 with: file: ./coverage verbose: true diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2862b88..919cdf4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,17 +14,17 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go: [1.13, 1.14, 1.15, 1.16, 1.17, 1.18] + go: ['1.15', '1.16', '1.17', '1.18', '1.19', '1.20'] steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get dependencies run: go get -v -t -d ./... diff --git a/.github/workflows/gopherjs.yml b/.github/workflows/gopherjs.yml index 5389092..7748623 100644 --- a/.github/workflows/gopherjs.yml +++ b/.github/workflows/gopherjs.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} id: go @@ -41,7 +41,7 @@ jobs: cp build/Release/syscall.node ~/.node_libraries/syscall.node - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get dependencies run: go get -v -t -d ./... diff --git a/.github/workflows/vagrant-test.yml b/.github/workflows/vagrant-test.yml index 71f5c47..408bd54 100644 --- a/.github/workflows/vagrant-test.yml +++ b/.github/workflows/vagrant-test.yml @@ -15,6 +15,6 @@ jobs: - freebsd steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: ${{ matrix.runtime }} run: bash ./test/run --build --run ${{ matrix.runtime }} diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index 9ca405a..5663666 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -14,17 +14,17 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.17, 1.18] + go: ['1.17', '1.18', '1.19', '1.20'] steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get dependencies run: go get -v -t -d ./... diff --git a/go.mod b/go.mod index 5efef86..2263c9e 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/otiai10/copy -go 1.14 +go 1.18 require ( - github.com/otiai10/mint v1.4.1 + github.com/otiai10/mint v1.5.1 golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 ) diff --git a/go.sum b/go.sum index 6926ed9..7fc5834 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,4 @@ -github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= -github.com/otiai10/curr v1.0.0 h1:TJIWdbX0B+kpNagQrjgq8bCMrbhiuX73M2XwgtDMoOI= -github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= -github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= -github.com/otiai10/mint v1.4.1 h1:HOVBfKP1oXIc0wWo9hZ8JLdZtyCPWqjvmFDuVZ0yv2Y= -github.com/otiai10/mint v1.4.1/go.mod h1:gifjb2MYOoULtKLqUAEILUG/9KONW6f7YsJ6vQLTlFI= +github.com/otiai10/mint v1.5.1 h1:XaPLeE+9vGbuyEHem1JNk3bYc7KKqyI/na0/mLd/Kks= +github.com/otiai10/mint v1.5.1/go.mod h1:MJm72SBthJjz8qhefc4z1PYEieWmy8Bku7CjcAqyUSM= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=